diff --git a/packages/nc-gui/pages/user/authentication/signup/index.vue b/packages/nc-gui/pages/user/authentication/signup/index.vue index 1766c3eaca..b3ea63494c 100644 --- a/packages/nc-gui/pages/user/authentication/signup/index.vue +++ b/packages/nc-gui/pages/user/authentication/signup/index.vue @@ -278,13 +278,13 @@ export default { return this.$store.getters['users/GtrUser'] }, type() { - return this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.authType + return this.$store.state.project && this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.authType }, firstUser() { - return this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.firstUser + return this.$store.state.project && this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.firstUser }, googleAuthEnabled() { - return this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.googleAuthEnabled + return this.$store.state.project && this.$store.state.project.projectInfo && this.$store.state.project.projectInfo.googleAuthEnabled } }, watch: {}, diff --git a/packages/nc-gui/plugins/projectLoader.js b/packages/nc-gui/plugins/projectLoader.js index 44724c71f7..429e02533d 100644 --- a/packages/nc-gui/plugins/projectLoader.js +++ b/packages/nc-gui/plugins/projectLoader.js @@ -1,5 +1,5 @@ export default async({ store, redirect, $axios, $toast, route }) => { - if (!route.path || !route.path.startsWith('/nc/')) { await store.dispatch('plugins/pluginPostInstall', 'Branding') } + // if (!route.path || !route.path.startsWith('/nc/')) { await store.dispatch('plugins/pluginPostInstall', 'Branding') } if (window.location.search && /\bscope=|\bstate=/.test(window.location.search) && /\bcode=/.test(window.location.search)) {