From 3f3e59226642778ec326e7263d101431c9a5d3ab Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Mon, 19 Aug 2024 16:42:29 -0400 Subject: [PATCH] updated at 2024-08-19T16:42:29-04:00 --- core | 2 +- ext/app/client/ui/ActivationPage.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core b/core index 0a78cdb..df5080e 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 0a78cdbaab57d9c6ce88ad864969fbf6ece69225 +Subproject commit df5080ef38a61aa672dcecb598e385f8977ed9d1 diff --git a/ext/app/client/ui/ActivationPage.ts b/ext/app/client/ui/ActivationPage.ts index dff5a61..408f6e5 100644 --- a/ext/app/client/ui/ActivationPage.ts +++ b/ext/app/client/ui/ActivationPage.ts @@ -25,6 +25,10 @@ export function getActivationPage(): IActivationPageCreator { return isEnterpriseDeployment() ? EnterpriseActivationPage : DefaultActivationPage; } +export function showEnterpriseToggle() { + return !getGristConfig().forceEnableEnterprise; +} + export class EnterpriseActivationPage extends Disposable { private readonly _currentPage = Computed.create(this, urlState().state, (_use, s) => s.activation); private _model: ActivationModel = new ActivationModelImpl(this._appModel);