π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): dont update showonboarding flow is it is disabled
Ramesh Mane6a2d05ab7ba1
diff --git a/packages/nc-gui/composables/useOnboardingFlow.ts b/packages/nc-gui/composables/useOnboardingFlow.tsindex 84d428e3d9..ece5305756 100644--- a/packages/nc-gui/composables/useOnboardingFlow.ts+++ b/packages/nc-gui/composables/useOnboardingFlow.ts@@ -110,7 +110,7 @@ export const useOnboardingFlow = createSharedComposable(() => {const { isFeatureEnabled } = useBetaFeatureToggle()const isEnabledOnboardingFlow = computed(() => {- return isFeatureEnabled(FEATURE_FLAG.SIGNUP_ONBOARDING_FLOW)+ return isFeatureEnabled(FEATURE_FLAG.SIGNUP_ONBOARDING_FLOW) && !ncIsPlaywright()})/**@@ -119,9 +119,7 @@ export const useOnboardingFlow = createSharedComposable(() => {const showOnboardingFlowLocalState = ref(false)const showOnboardingFlow = computed(() => {- return (- isEnabledOnboardingFlow.value && showOnboardingFlowLocalState.value && route.value.name === 'index' && !ncIsPlaywright()- )+ return isEnabledOnboardingFlow.value && showOnboardingFlowLocalState.value && route.value.name === 'index'})// Timestamp when the onboarding flow is started@@ -951,7 +949,7 @@ export const useOnboardingFlow = createSharedComposable(() => {watch(() => user.value?.is_new_user,(isNewUser) => {- if (!isNewUser) {+ if (!isNewUser || !isEnabledOnboardingFlow.value) {if (showOnboardingFlowLocalState.value) {resetOnboardingFlow()}