Browse Source

refactor(gui-v2): typos correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2986/head
Pranav C 2 years ago
parent
commit
f73796a93e
  1. 2
      packages/nc-gui-v2/components/cell/Integer.vue
  2. 4
      packages/nc-gui-v2/components/smartsheet/Cell.vue

2
packages/nc-gui-v2/components/cell/Integer.vue

@ -16,7 +16,7 @@ const emits = defineEmits<Emits>()
const editEnabled = inject(EditModeInj, ref(false))
const vModel = useVModel(props, 'modelValue', emit)
const vModel = useVModel(props, 'modelValue', emits)
const focus = (el: HTMLInputElement) => el?.focus()

4
packages/nc-gui-v2/components/smartsheet/Cell.vue

@ -53,9 +53,9 @@ const isManualSaved = $computed(() => {
})
const vModel = computed({
get: () => value,
get: () => rest.modelValue,
set: (val) => {
if (val !== value) {
if (val !== rest.modelValue) {
changed = true
emit('update:modelValue', val)
if (isAutoSaved) {

Loading…
Cancel
Save