From a5e02ba5a7fac251c013036ffcc1cfa42dfe3061 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 27 Jul 2022 15:12:47 +0200 Subject: [PATCH] feat(gui-v2): handle delete and duplication of views --- .../nc-gui-v2/components/dlg/ViewCreate.vue | 3 +- .../components/smartsheet/Sidebar.vue | 146 +++++++++++++----- 2 files changed, 109 insertions(+), 40 deletions(-) diff --git a/packages/nc-gui-v2/components/dlg/ViewCreate.vue b/packages/nc-gui-v2/components/dlg/ViewCreate.vue index af46d38545..f5dbf5e4f7 100644 --- a/packages/nc-gui-v2/components/dlg/ViewCreate.vue +++ b/packages/nc-gui-v2/components/dlg/ViewCreate.vue @@ -13,6 +13,7 @@ import { computed, nextTick, reactive, unref, useApi, useVModel, watch } from '# interface Props { modelValue: boolean type: ViewTypes + title?: string } interface Emits { @@ -45,7 +46,7 @@ const meta = inject(MetaInj) const viewList = inject(ViewListInj) const form = reactive