mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
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'),
|
||||
)
|
||||
]),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user