diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index 106cb7108f..be28380e7f 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -26,7 +26,7 @@ const signOut = () => {
- NocoDB + NocoDB
@@ -67,7 +67,7 @@ const signOut = () => {   {{ email }} diff --git a/packages/nc-gui-v2/pages/index.vue b/packages/nc-gui-v2/pages/index.vue deleted file mode 100644 index 1f2c1a34b3..0000000000 --- a/packages/nc-gui-v2/pages/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - diff --git a/packages/nc-gui-v2/pages/projects/create-external.vue b/packages/nc-gui-v2/pages/index/create-external.vue similarity index 100% rename from packages/nc-gui-v2/pages/projects/create-external.vue rename to packages/nc-gui-v2/pages/index/create-external.vue diff --git a/packages/nc-gui-v2/pages/projects/create.vue b/packages/nc-gui-v2/pages/index/create.vue similarity index 100% rename from packages/nc-gui-v2/pages/projects/create.vue rename to packages/nc-gui-v2/pages/index/create.vue diff --git a/packages/nc-gui-v2/pages/projects/index.vue b/packages/nc-gui-v2/pages/index/index.vue similarity index 91% rename from packages/nc-gui-v2/pages/projects/index.vue rename to packages/nc-gui-v2/pages/index/index.vue index 43dbcdbc7e..3e9ea84796 100644 --- a/packages/nc-gui-v2/pages/projects/index.vue +++ b/packages/nc-gui-v2/pages/index/index.vue @@ -57,14 +57,14 @@ const activePage = $ref(navDrawerOptions[0].title)
{{ $t('activity.createProject') }}
@@ -113,14 +113,14 @@ const activePage = $ref(navDrawerOptions[0].title)
diff --git a/packages/nc-gui-v2/pages/projects/index/index.vue b/packages/nc-gui-v2/pages/index/index/index.vue similarity index 97% rename from packages/nc-gui-v2/pages/projects/index/index.vue rename to packages/nc-gui-v2/pages/index/index/index.vue index c4c6152c84..21b8c7d7e8 100644 --- a/packages/nc-gui-v2/pages/projects/index/index.vue +++ b/packages/nc-gui-v2/pages/index/index/index.vue @@ -50,14 +50,14 @@ const formatTitle = (title: string) =>
{{ $t('activity.createProject') }}
diff --git a/packages/nc-gui-v2/pages/projects/index/list.vue b/packages/nc-gui-v2/pages/index/index/list.vue similarity index 100% rename from packages/nc-gui-v2/pages/projects/index/list.vue rename to packages/nc-gui-v2/pages/index/index/list.vue diff --git a/packages/nc-gui-v2/pages/signin.vue b/packages/nc-gui-v2/pages/signin.vue index f51318646a..b5c3fa084b 100644 --- a/packages/nc-gui-v2/pages/signin.vue +++ b/packages/nc-gui-v2/pages/signin.vue @@ -55,7 +55,7 @@ const signIn = async () => { try { const { token } = await $api.auth.signin(form) $state.signIn(token!) - await navigateTo('/projects') + await navigateTo('/') } catch (e: any) { // todo: errors should not expose what was wrong (i.e. do not show "Password is wrong" messages) error = await extractSdkResponseErrorMsg(e) diff --git a/packages/nc-gui-v2/pages/signup.vue b/packages/nc-gui-v2/pages/signup.vue index 21477202de..3c886d3f62 100644 --- a/packages/nc-gui-v2/pages/signup.vue +++ b/packages/nc-gui-v2/pages/signup.vue @@ -46,7 +46,7 @@ const signUp = async () => { try { const { token } = await $api.auth.signup(form) $state.signIn(token!) - await navigateTo('/projects') + await navigateTo('/') } catch (e: any) { error = await extractSdkResponseErrorMsg(e) }