π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
ix
Ramesh Mane635d99faa81e
diff --git a/packages/nc-gui/components/auth/onboarding/index.vue b/packages/nc-gui/components/auth/onboarding/index.vueindex 67acc93a32..1f3a3bf297 100644--- a/packages/nc-gui/components/auth/onboarding/index.vue+++ b/packages/nc-gui/components/auth/onboarding/index.vue@@ -1,7 +1,7 @@<script lang="ts" setup>import type { VNodeRef } from '@vue/runtime-core'-const { onInitOnboardingFlow, visibleQuestions, stepper } = useOnboardingFlow()+const { showOnboardingFlow, onInitOnboardingFlow, onCompleteOnboardingFlow, visibleQuestions, stepper } = useOnboardingFlow()const autoScrollQuestionRefs = ref<HTMLDivElement>()@@ -30,6 +30,16 @@ watch(onMounted(() => {onInitOnboardingFlow()})++useEventListener('beforeunload', (event) => {+ if (!showOnboardingFlow.value) return++ // Recommended+ event.preventDefault()++ // Included for legacy support, e.g. Chrome/Edge < 119+ event.returnValue = ''+})</script><template>diff --git a/packages/nc-gui/composables/useOnboardingFlow.ts b/packages/nc-gui/composables/useOnboardingFlow.tsindex 517534a32c..54ec06f4ed 100644--- a/packages/nc-gui/composables/useOnboardingFlow.ts+++ b/packages/nc-gui/composables/useOnboardingFlow.ts@@ -58,7 +58,7 @@ export const useOnboardingFlow = createSharedComposable(() => {/*** If true, the onboarding flow will be shown in home page - `/`*/- const showOnboardingFlowLocalState = ref(true)+ const showOnboardingFlowLocalState = ref(false)const showOnboardingFlow = computed(() => {return isEnabledOnboardingFlow.value && showOnboardingFlowLocalState.value && route.value.name === 'index'