(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2024-01-16 08:49:37 -05:00
6 changed files with 28 additions and 13 deletions

View File

@@ -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'),
)
]),
];
}