diff --git a/packages/nc-gui-v2/pages/index/index.vue b/packages/nc-gui-v2/pages/index/index.vue index aeab0930b6..efda169de5 100644 --- a/packages/nc-gui-v2/pages/index/index.vue +++ b/packages/nc-gui-v2/pages/index/index.vue @@ -1,5 +1,4 @@ diff --git a/packages/nc-gui-v2/pages/index/index/index.vue b/packages/nc-gui-v2/pages/index/index/index.vue index e51eb52b5a..7f09818aef 100644 --- a/packages/nc-gui-v2/pages/index/index/index.vue +++ b/packages/nc-gui-v2/pages/index/index/index.vue @@ -9,10 +9,10 @@ import MdiDatabaseOutline from '~icons/mdi/database-outline' import MdiEditOutline from '~icons/mdi/edit-outline' interface Props { - projects: ProjectType[] + projects?: ProjectType[] } -const { projects } = defineProps() +const { projects = [] } = defineProps() const emit = defineEmits(['delete-project']) diff --git a/packages/nc-gui-v2/pages/index/index/list.vue b/packages/nc-gui-v2/pages/index/index/list.vue index f99408fe03..d69159b566 100644 --- a/packages/nc-gui-v2/pages/index/index/list.vue +++ b/packages/nc-gui-v2/pages/index/index/list.vue @@ -6,10 +6,10 @@ import MdiDeleteOutline from '~icons/mdi/delete-outline' import MdiEditOutline from '~icons/mdi/edit-outline' interface Props { - projects: ProjectType[] + projects?: ProjectType[] } -const { projects } = defineProps() +const { projects = [] } = defineProps() const emit = defineEmits(['delete-project']) @@ -22,28 +22,26 @@ const openProject = async (project: ProjectType) => { - - - {{ $t('general.title') }} - Updated At - - - - + + {{ $t('general.title') }} + Updated At + + - - - {{ project.title || 'Untitled' }} - {{ project.updated_at }} - - - - + + + + + {{ project.title || 'Untitled' }} + {{ project.updated_at }} + + + - - - + + + diff --git a/packages/nc-gui-v2/pages/index/user/index.vue b/packages/nc-gui-v2/pages/index/user/index.vue index bea2158e55..f8ec84f3a4 100644 --- a/packages/nc-gui-v2/pages/index/user/index.vue +++ b/packages/nc-gui-v2/pages/index/user/index.vue @@ -1,25 +1,39 @@ - - + + diff --git a/packages/nc-gui-v2/pages/index/user/index/index.vue b/packages/nc-gui-v2/pages/index/user/index/index.vue index 1e446deb0e..e82953b69d 100644 --- a/packages/nc-gui-v2/pages/index/user/index/index.vue +++ b/packages/nc-gui-v2/pages/index/user/index/index.vue @@ -1,12 +1,13 @@