From 5409bf86a9275be0bc7eb6100b32080b9a6452ca Mon Sep 17 00:00:00 2001 From: AustinMroz Date: Thu, 15 Jan 2026 16:11:53 -0800 Subject: [PATCH] Make sure toggle visibility checks remote config (#8086) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous fix, with `.featureFlag()` does not actually result in remoteConfig being checked This time, I did extra manual testing to verify that remoteConfig is populated on cloud and that the visibility of the toggle is actually reactive to changes to remoteConfig. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8086-Make-sure-toggle-visibility-checks-remote-config-2ea6d73d36508182807bce3b0bb52868) by [Unito](https://www.unito.io) --- src/components/sidebar/SideToolbar.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/sidebar/SideToolbar.vue b/src/components/sidebar/SideToolbar.vue index 477a0d9d1..44dff5fc2 100644 --- a/src/components/sidebar/SideToolbar.vue +++ b/src/components/sidebar/SideToolbar.vue @@ -44,7 +44,9 @@ - + @@ -88,11 +90,7 @@ const menuItemStore = useMenuItemStore() const sideToolbarRef = ref() const topToolbarRef = ref() const bottomToolbarRef = ref() - -const linearFeatureFlag = useFeatureFlags().featureFlag( - 'linearToggleEnabled', - false -) +const { flags } = useFeatureFlags() const isSmall = computed( () => settingStore.get('Comfy.Sidebar.Size') === 'small'