From 8f41c836dd4b205230b4fcf9ace71367dccdc1b6 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Fri, 10 Nov 2023 10:54:42 +0000 Subject: [PATCH] fix: Added new view context menu --- packages/nc-gui/assets/nc-icons/check.svg | 2 +- .../smartsheet/toolbar/ExportSubActions.vue | 14 +- .../smartsheet/toolbar/LockType.vue | 28 +- .../smartsheet/toolbar/OpenedViewAction.vue | 258 ++++++++++++++++++ .../smartsheet/toolbar/ViewInfo.vue | 25 +- 5 files changed, 284 insertions(+), 43 deletions(-) create mode 100644 packages/nc-gui/components/smartsheet/toolbar/OpenedViewAction.vue diff --git a/packages/nc-gui/assets/nc-icons/check.svg b/packages/nc-gui/assets/nc-icons/check.svg index 314287cb8e..21d49df996 100644 --- a/packages/nc-gui/assets/nc-icons/check.svg +++ b/packages/nc-gui/assets/nc-icons/check.svg @@ -1,5 +1,5 @@ - + diff --git a/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue b/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue index 1f31d21396..3537e7e51a 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue @@ -99,19 +99,21 @@ const exportFile = async (exportType: ExportTypes) => { diff --git a/packages/nc-gui/components/smartsheet/toolbar/LockType.vue b/packages/nc-gui/components/smartsheet/toolbar/LockType.vue index d2892aefae..031f3186c9 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/LockType.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/LockType.vue @@ -29,29 +29,31 @@ const selectedView = inject(ActiveViewInj) + + diff --git a/packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue b/packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue index 680fc370de..8ab03280c6 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ViewInfo.vue @@ -121,7 +121,7 @@ const openedBaseUrl = computed(() => { -
/
+
/
- - - - {{ activeView?.is_default ? $t('title.defaultView') : activeView?.title }} - - +