diff --git a/packages/nc-gui/components/account/Setup.vue b/packages/nc-gui/components/account/Setup.vue index f348eb8847..18813a3e59 100644 --- a/packages/nc-gui/components/account/Setup.vue +++ b/packages/nc-gui/components/account/Setup.vue @@ -15,11 +15,14 @@ const configs = computed(() => [ key: 'email', description: 'Configure an email account to send system notifications to your organisation’s users.', docsLink: '', - onClick: () => { + buttonClick: () => { // listModalDlg.value = true // openedCategory.value = 'Email' navigateTo(`/account/setup/email${emailConfigured.value ? `/${emailConfigured.value.title}` : ''}`) }, + itemClick: () =>{ + navigateTo(`/account/setup/email`) + }, configured: emailConfigured.value, }, { @@ -27,12 +30,15 @@ const configs = computed(() => [ key: 'storage', description: 'Configure a storage service to store your organisation’s data.', docsLink: '', - onClick: () => { + buttonClick: () => { // listModalDlg.value = true // openedCategory.value = 'Storage' navigateTo(`/account/setup/storage${storageConfigured.value ? `/${storageConfigured.value.title}` : ''}`) }, + itemClick: () =>{ + navigateTo(`/account/setup/storage`) + }, configured: storageConfigured.value, }, { @@ -40,7 +46,7 @@ const configs = computed(() => [ key: 'switchToProd', description: 'Configure a production-ready app database to port from the existing built-in application database.', docsLink: '', - onClick: () => { + buttonClick: () => { // TODO: Implement the logic to switch to production }, isPending: !(appInfo.value as any)?.prodReady, @@ -71,52 +77,38 @@ onMounted(async () => { class="nc-content-max-w flex-1 max-h-[calc(100vh_-_100px)] overflow-y-auto nc-scrollbar-thin flex flex-col items-center gap-6 p-6" >