π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
refactor: convert array to string
Pranav C80f6cc7d2a39
diff --git a/packages/nc-gui/composables/useOnboardingFlow.ts b/packages/nc-gui/composables/useOnboardingFlow.tsindex 9811fb8316..10bb9c7e39 100644--- a/packages/nc-gui/composables/useOnboardingFlow.ts+++ b/packages/nc-gui/composables/useOnboardingFlow.ts@@ -69,6 +69,7 @@ export interface OnboardingRightSectionType {export interface OnboardingQuestionType {id: number+ key?: stringquestion: stringdescription?: stringinputType: 'singleSelect' | 'multiSelect'@@ -511,6 +512,7 @@ export const useOnboardingFlow = createSharedComposable(() => {},{id: 7,+ key: 'ai',question: 'Choose AI Tools That You Are Familiar With',description: 'Unlocks Free Access To NocoAI π ',inputType: 'multiSelect',@@ -916,7 +918,7 @@ export const useOnboardingFlow = createSharedComposable(() => {skipped: payload.skipped,...payload.questions.reduce((acc, curr) => {acc[`onboarding_q_${curr.key}`] = curr.question- acc[`onboarding_a_${curr.key}`] = curr.answer+ acc[`onboarding_a_${curr.key}`] = Array.isArray(curr.answer) ? curr.answer.join(':') : curr.answerreturn acc}, {}),}@@ -927,7 +929,7 @@ export const useOnboardingFlow = createSharedComposable(() => {const answer = formState.value[q.id]return {- key: q.id === 7 ? 'ai1' : q.id,+ key: q.key ?? q.id,question: q.question,answer,}