diff --git a/packages/nc-gui/components/account/Profile.vue b/packages/nc-gui/components/account/Profile.vue index 7ff984c958..3a8ad1f476 100644 --- a/packages/nc-gui/components/account/Profile.vue +++ b/packages/nc-gui/components/account/Profile.vue @@ -193,7 +193,7 @@ const onCancel = () => { class="w-full !rounded-lg !px-4 h-10" :placeholder="$t('general.name')" data-testid="nc-account-settings-rename-input" - /> + />
@@ -208,29 +208,29 @@ const onCancel = () => {
-
- - {{ $t('general.cancel') }} - - - - {{ $t('general.save') }} - -
+
+ + {{ $t('general.cancel') }} + + + + {{ $t('general.save') }} + +
diff --git a/packages/nc-gui/components/nc/Alert.vue b/packages/nc-gui/components/nc/Alert.vue index 37cfeb5b19..2752ab5475 100644 --- a/packages/nc-gui/components/nc/Alert.vue +++ b/packages/nc-gui/components/nc/Alert.vue @@ -298,7 +298,7 @@ onUnmounted(() => { - + diff --git a/packages/nc-gui/components/nc/ModalConfirm.vue b/packages/nc-gui/components/nc/ModalConfirm.vue index fccbc447fb..457a63d05d 100644 --- a/packages/nc-gui/components/nc/ModalConfirm.vue +++ b/packages/nc-gui/components/nc/ModalConfirm.vue @@ -95,10 +95,10 @@ const props = withDefaults(defineProps(), { focusBtn: 'ok', }) -const { visible: _visible, title, ...restProps } = props - const emits = defineEmits() +const { visible: _visible, title, ...restProps } = props + interface Emits { (e: 'update:visible', value: boolean): void // cancel is generic, on click cancel or close modal using keybord shortcut or overlay click diff --git a/packages/nc-gui/components/smartsheet/grid/canvas/cells/Null.ts b/packages/nc-gui/components/smartsheet/grid/canvas/cells/Null.ts index 1a71a1fee9..7938edcf51 100644 --- a/packages/nc-gui/components/smartsheet/grid/canvas/cells/Null.ts +++ b/packages/nc-gui/components/smartsheet/grid/canvas/cells/Null.ts @@ -1,4 +1,4 @@ -import { FormulaDataTypes, isNumericFieldType, UITypes } from 'nocodb-sdk' +import { FormulaDataTypes, UITypes, isNumericFieldType } from 'nocodb-sdk' import { getAbstractType, renderSingleLineText } from '../utils/canvas' export const NullCellRenderer: CellRenderer = {