Browse Source

fix/gui-v2-json-cell-rebase-issue-minor-fix

pull/2946/head
Muhammed Mustafa 2 years ago
parent
commit
084e626d00
  1. 4
      packages/nc-gui-v2/components/cell/Json.vue

4
packages/nc-gui-v2/components/cell/Json.vue

@ -18,7 +18,7 @@ const props = defineProps<Props>()
const emits = defineEmits<Emits>()
let editEnabled = $(inject(EditModeInj))
const editEnabled = inject(EditModeInj, ref(false))
let vModel = $(useVModel(props, 'modelValue', emits))
@ -38,7 +38,7 @@ let isExpanded = $ref(false)
const clear = () => {
error = undefined
isExpanded = false
editEnabled = false
editEnabled.value = false
localValue = vModel
}

Loading…
Cancel
Save