mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
20 lines
581 B
TypeScript
20 lines
581 B
TypeScript
"use client";
|
|
|
|
import { FolderSettings } from './folder-settings';
|
|
import { KeywordSettings } from './keyword-settings';
|
|
import { usePolicyStore } from '@/stores/policy-store';
|
|
|
|
/**
|
|
* The Folders & tags page: what the sidebar lists and how mail is labelled.
|
|
* The sidebar gears still deep-link to each half by section.
|
|
*/
|
|
export function OrganizeSettings() {
|
|
const tagsEnabled = usePolicyStore((s) => s.isFeatureEnabled('customKeywordsEnabled'));
|
|
return (
|
|
<div className="space-y-8">
|
|
<FolderSettings />
|
|
{tagsEnabled && <KeywordSettings />}
|
|
</div>
|
|
);
|
|
}
|