Browse Source

fix(nc-gui): update tableRow api to skip view filter

pull/7611/head
DarkPhoenix2704 10 months ago
parent
commit
42c0db34ab
  1. 4
      packages/nc-gui/composables/useCalendarViewStore.ts

4
packages/nc-gui/composables/useCalendarViewStore.ts

@ -309,7 +309,7 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState(
if (isSidebarLoading.value) return if (isSidebarLoading.value) return
const response = !isPublic.value const response = !isPublic.value
? await api.dbViewRow.list('noco', base.value.id!, meta.value!.id!, viewMeta.value!.id!, { ? await api.dbTableRow.list('noco', base.value.id!, meta.value!.id!, {
...params, ...params,
...{}, ...{},
...{}, ...{},
@ -592,7 +592,7 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState(
console.log('loadSidebarData', sideBarFilter.value) console.log('loadSidebarData', sideBarFilter.value)
if (!base?.value?.id || !meta.value?.id || !viewMeta.value?.id) return if (!base?.value?.id || !meta.value?.id || !viewMeta.value?.id) return
isSidebarLoading.value = true isSidebarLoading.value = true
const res = await api.dbViewRow.list('noco', base.value.id!, meta.value!.id!, viewMeta.value!.id!, { const res = await api.dbTableRow.list('noco', base.value.id!, meta.value!.id!, {
...queryParams.value, ...queryParams.value,
...{}, ...{},
...{}, ...{},

Loading…
Cancel
Save