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

Loading…
Cancel
Save