fix(nc-gui): console warnings

This commit is contained in:
Ramesh Mane
2025-03-11 19:25:19 +00:00
parent f29b9bfc6e
commit 6e840015cc
20 changed files with 97 additions and 35 deletions

View File

@@ -34,7 +34,7 @@ const active = computed(() => activeCell.value || isEditable.value || isForm.val
const aselect = ref<typeof AntSelect>()
const isOpen = ref(false)
const canvasSelectCell = inject(CanvasSelectCellInj)
const canvasSelectCell = inject(CanvasSelectCellInj, null)
const isKanban = inject(IsKanbanInj, ref(false))
@@ -274,7 +274,7 @@ watch(
},
)
const canvasCellEventData = inject(CanvasCellEventDataInj)!
const canvasCellEventData = inject(CanvasCellEventDataInj, reactive<CanvasCellEventDataInjType>({}))
const isUnderLookup = inject(IsUnderLookupInj, ref(false))
const isCanvasInjected = inject(IsCanvasInjectionInj, false)
const isExpandedForm = inject(IsExpandedFormOpenInj, ref(false))