From 15d06885d15aaf5828eab9f55265e8106a0051e2 Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Sat, 2 Mar 2024 07:32:40 +0000
Subject: [PATCH] chore(nc-gui): lint
---
.../components/cell/RichText/SelectedBubbleMenu.vue | 10 +++++-----
packages/nc-gui/components/smartsheet/Form.vue | 1 -
.../index/[typeOrId]/form/[viewId]/index/survey.vue | 2 +-
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue b/packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue
index 5b922f5f5c..6132520f14 100644
--- a/packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue
+++ b/packages/nc-gui/components/cell/RichText/SelectedBubbleMenu.vue
@@ -103,8 +103,8 @@ const onToggleLink = () => {
type="text"
:class="{ 'is-active': editor.isActive('bold') }"
:disabled="editor.isActive('codeBlock')"
- @click="editor!.chain().focus().toggleBold().run()"
:tabindex="isFormField ? -1 : 0"
+ @click="editor!.chain().focus().toggleBold().run()"
>
@@ -124,8 +124,8 @@ const onToggleLink = () => {
type="text"
:disabled="editor.isActive('codeBlock')"
:class="{ 'is-active': editor.isActive('italic') }"
- @click=";(editor!.chain().focus() as any).toggleItalic().run()"
:tabindex="isFormField ? -1 : 0"
+ @click=";(editor!.chain().focus() as any).toggleItalic().run()"
>
@@ -145,8 +145,8 @@ const onToggleLink = () => {
type="text"
:class="{ 'is-active': editor.isActive('underline') }"
:disabled="editor.isActive('codeBlock')"
- @click="editor!.chain().focus().toggleUnderline().run()"
:tabindex="isFormField ? -1 : 0"
+ @click="editor!.chain().focus().toggleUnderline().run()"
>
@@ -165,8 +165,8 @@ const onToggleLink = () => {
type="text"
:class="{ 'is-active': editor.isActive('strike') }"
:disabled="editor.isActive('codeBlock')"
- @click="editor!.chain().focus().toggleStrike().run()"
:tabindex="isFormField ? -1 : 0"
+ @click="editor!.chain().focus().toggleStrike().run()"
>
@@ -314,8 +314,8 @@ const onToggleLink = () => {
type="text"
:class="{ 'is-active': editor.isActive('link') }"
:disabled="editor.isActive('codeBlock')"
- @click="onToggleLink"
:tabindex="isFormField ? -1 : 0"
+ @click="onToggleLink"
>
diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue
index 83afe0e829..67455c5557 100644
--- a/packages/nc-gui/components/smartsheet/Form.vue
+++ b/packages/nc-gui/components/smartsheet/Form.vue
@@ -311,7 +311,6 @@ async function showOrHideColumn(column: Record, show: boolean, isSi
const fieldIndex = fields.value?.findIndex((f) => f?.fk_column_id === column.fk_column_id)
if (fieldIndex !== -1 && fieldIndex !== undefined && fields.value?.[fieldIndex]) {
- console.log('column', column)
column.show = show
await $api.dbView.formColumnUpdate(column.id, column)
diff --git a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/survey.vue b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/survey.vue
index f0e7ceeee1..7b1e8f6554 100644
--- a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/survey.vue
+++ b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/survey.vue
@@ -394,7 +394,7 @@ onMounted(() => {
{{ $t('msg.info.thankYou') }}
-
+
{{ $t('msg.info.submittedFormData') }}