From 4e25092af70ed3c6569ee1eda8f9b7635a81e4e2 Mon Sep 17 00:00:00 2001 From: Hayata Suenaga Date: Thu, 28 Mar 2024 14:21:13 -0700 Subject: [PATCH] fix: offline behavior --- src/pages/workspace/WorkspaceMoreFeaturesPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx b/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx index 618758c31718..c717c4a2f14e 100644 --- a/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx +++ b/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx @@ -108,7 +108,7 @@ function WorkspaceMoreFeaturesPage({policy, route}: WorkspaceMoreFeaturesPagePro titleTranslationKey: 'workspace.moreFeatures.connections.title', subtitleTranslationKey: 'workspace.moreFeatures.connections.subtitle', isActive: !!policy?.areConnectionsEnabled, - pendingAction: policy?.pendingFields?.connections, + pendingAction: policy?.pendingFields?.areConnectionsEnabled, action: (isEnabled: boolean) => { Policy.enablePolicyConnections(policy?.id ?? '', isEnabled); },