From e4cf30f58a41a49a04b5a6106c4b359d6f6e5cd4 Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Wed, 27 Sep 2023 17:39:54 +0530 Subject: [PATCH] fix: nc button ui and word wrap --- .../nc-gui/components/smartsheet/Form.vue | 25 ++++++++++--------- .../composables/useSharedFormViewStore.ts | 2 -- .../[typeOrId]/form/[viewId]/index/index.vue | 18 ++++++------- .../[typeOrId]/form/[viewId]/index/survey.vue | 4 +-- 4 files changed, 23 insertions(+), 26 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index a56a380b41..b5188da758 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -428,27 +428,27 @@ watch(view, (nextView) => {
- + - +
@@ -785,15 +785,16 @@ watch(view, (nextView) => {
- +
diff --git a/packages/nc-gui/composables/useSharedFormViewStore.ts b/packages/nc-gui/composables/useSharedFormViewStore.ts index 1564e5f05d..c38358114b 100644 --- a/packages/nc-gui/composables/useSharedFormViewStore.ts +++ b/packages/nc-gui/composables/useSharedFormViewStore.ts @@ -213,8 +213,6 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share submitted.value = true progress.value = false - - await message.success(sharedFormView.value?.success_msg || 'Saved successfully.') } catch (e: any) { console.log(e) await message.error(await extractSdkResponseErrorMsg(e)) diff --git a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue index bd7b822db6..1c081950e3 100644 --- a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue +++ b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue @@ -72,14 +72,17 @@ const onDecode = async (scannedCodeValue: string) => {