fix: make workspaceSelectorFlagEnabled into a computed property

This commit is contained in:
Andrew Bastin
2024-05-10 16:30:36 +05:30
parent 7a90e2b252
commit de9b49e408

View File

@@ -274,8 +274,9 @@ const toast = useToast()
/** /**
* Feature flag to enable the workspace selector login conversion * Feature flag to enable the workspace selector login conversion
*/ */
const workspaceSelectorFlagEnabled = const workspaceSelectorFlagEnabled = computed(
platform.platformFeatureFlags.workspaceSwitcherLogin?.value () => !!platform.platformFeatureFlags.workspaceSwitcherLogin?.value
)
/** /**
* Once the PWA code is initialized, this holds a method * Once the PWA code is initialized, this holds a method