From 5d25d9d507add22396eee8d9923c6358dc8d36c2 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 20 Jul 2022 10:23:32 +0200 Subject: [PATCH 1/2] chore(gui-v2): remove max-width from list --- packages/nc-gui-v2/pages/index/index/list.vue | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/packages/nc-gui-v2/pages/index/index/list.vue b/packages/nc-gui-v2/pages/index/index/list.vue index f99408fe03..9a60bdc488 100644 --- a/packages/nc-gui-v2/pages/index/index/list.vue +++ b/packages/nc-gui-v2/pages/index/index/list.vue @@ -22,28 +22,26 @@ const openProject = async (project: ProjectType) => { From dbb6acfea1113f6f9f4cff8ec2bfb884ce253b4b Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 20 Jul 2022 20:29:22 +0200 Subject: [PATCH 2/2] chore(gui-v2): cleanup user settings page --- packages/nc-gui-v2/pages/index/index.vue | 7 ++-- .../nc-gui-v2/pages/index/index/index.vue | 4 +- packages/nc-gui-v2/pages/index/index/list.vue | 4 +- packages/nc-gui-v2/pages/index/user/index.vue | 20 +++++++-- .../pages/index/user/index/index.vue | 42 ++++++++++++++----- 5 files changed, 56 insertions(+), 21 deletions(-) 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 9a60bdc488..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']) 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 @@