mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
@@ -42,12 +42,14 @@ export function buildSiteSwitcher(appModel: AppModel) {
|
||||
testId('org'),
|
||||
)
|
||||
),
|
||||
menuItem(
|
||||
() => appModel.showNewSiteModal(),
|
||||
menuIcon('Plus'),
|
||||
t("Create new team site"),
|
||||
testId('create-new-site'),
|
||||
),
|
||||
dom.maybe(() => isFeatureEnabled("createSite"), () => [
|
||||
menuItem(
|
||||
() => appModel.showNewSiteModal(),
|
||||
menuIcon('Plus'),
|
||||
t("Create new team site"),
|
||||
testId('create-new-site'),
|
||||
)
|
||||
]),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -758,6 +758,7 @@ export const Features = StringUnion(
|
||||
"helpCenter",
|
||||
"billing",
|
||||
"templates",
|
||||
"createSite",
|
||||
"multiSite",
|
||||
"multiAccounts",
|
||||
"sendToDrive",
|
||||
|
||||
Reference in New Issue
Block a user