Browse Source

fix(nc-gui): set kanbanData.value instead

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
20cca98d45
  1. 2
      packages/nc-gui/composables/useViewData.ts

2
packages/nc-gui/composables/useViewData.ts

@ -185,7 +185,7 @@ export function useViewData(
async function loadKanbanData() { async function loadKanbanData() {
if (!viewMeta?.value?.id) return if (!viewMeta?.value?.id) return
galleryData.value = await $api.dbView.kanbanRead(viewMeta.value.id) kanbanData.value = await $api.dbView.kanbanRead(viewMeta.value.id)
} }
async function insertRow(row: Record<string, any>, rowIndex = formattedData.value?.length) { async function insertRow(row: Record<string, any>, rowIndex = formattedData.value?.length) {

Loading…
Cancel
Save