Browse Source

refactor(nc-gui): return empty list response

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
1bf1610bf1
  1. 6
      packages/nc-gui/composables/useSharedView.ts

6
packages/nc-gui/composables/useSharedView.ts

@ -92,7 +92,11 @@ export function useSharedView() {
filtersArr: FilterType[] filtersArr: FilterType[]
offset?: number offset?: number
}) => { }) => {
if (!sharedView.value) return if (!sharedView.value)
return {
list: [],
pageInfo: {},
}
if (!offset) { if (!offset) {
const page = paginationData.value.page || 1 const page = paginationData.value.page || 1

Loading…
Cancel
Save