From 7ea493977116ccf3b1524ddb7780663f44692f5e Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 19 Aug 2022 23:24:23 +0530 Subject: [PATCH] refactor(gui-v2): menu label correction Signed-off-by: Pranav C --- .../smartsheet-toolbar/ViewActions.vue | 71 ++++--------------- .../smartsheet/sidebar/toolbar/LockMenu.vue | 1 + 2 files changed, 15 insertions(+), 57 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue index 65282a36d0..c2c87d3110 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue @@ -164,13 +164,13 @@ async function changeLockType(type: LockType) { -
+
- Collaborative view + {{ $t('title.collabView') }}
Collaborators with edit permissions or higher can change the view configuration.
@@ -179,26 +179,26 @@ async function changeLockType(type: LockType) {
-
+
- Locked View + {{ $t('title.lockedView') }}
No one can edit the view configuration until it is unlocked.
-
+
- Personal view + {{ $t('title.personalView') }}
Only you can edit the view configuration. Other collaborators’ personal views are hidden by default. @@ -242,8 +242,8 @@ async function changeLockType(type: LockType) { + + diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/LockMenu.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/LockMenu.vue index 27e9c9fcec..bb729e4afc 100644 --- a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/LockMenu.vue +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/LockMenu.vue @@ -113,4 +113,5 @@ const Icon = computed(() => { .nc-subtitle { @apply font-size-sm font-weight-light; } +