From 73e34cda05d730cb9cdee22d5284aba883ed4fb9 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 14 Oct 2022 18:24:02 +0800 Subject: [PATCH 1/3] fix(nc-gui): remove duration from isManualSaved --- packages/nc-gui/components/smartsheet/Cell.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index 8101fce96b..db7c7552b6 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -84,7 +84,7 @@ const isAutoSaved = $computed(() => { ].includes(column?.value?.uidt as UITypes) }) -const isManualSaved = $computed(() => [UITypes.Currency, UITypes.Duration].includes(column?.value?.uidt as UITypes)) +const isManualSaved = $computed(() => [UITypes.Currency].includes(column?.value?.uidt as UITypes)) const vModel = computed({ get: () => props.modelValue, From 4f17dbc96694a00d98417b4b46eeaa6b9810ee1f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 15 Oct 2022 17:18:46 +0800 Subject: [PATCH 2/3] fix(nc-gui): add duration to isAutoSaved --- packages/nc-gui/components/smartsheet/Cell.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index db7c7552b6..111f9b8ea6 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -1,6 +1,6 @@