From 33285716a1add564c976674f5eaf8e3b425b84fa Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 9 Feb 2023 16:14:46 +0300 Subject: [PATCH] fix: primary value column menu operations Signed-off-by: mertmit --- packages/nc-gui/components/smartsheet/header/Menu.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/header/Menu.vue b/packages/nc-gui/components/smartsheet/header/Menu.vue index 3b1d2068c7..62e019b0d2 100644 --- a/packages/nc-gui/components/smartsheet/header/Menu.vue +++ b/packages/nc-gui/components/smartsheet/header/Menu.vue @@ -156,6 +156,7 @@ const duplicateColumn = async () => { await $api.dbTableColumn.create(meta!.value!.id!, { ...columnCreatePayload, + pv: false, column_order: { order: newColumnOrder, view_id: view.value?.id as string, @@ -243,7 +244,7 @@ const hideField = async () => { - +
@@ -270,7 +271,7 @@ const hideField = async () => { {{ t('general.insertAfter') }}
- +
@@ -289,7 +290,7 @@ const hideField = async () => {
- +