Browse Source

fix(gui-v2): view not rendering

pull/3093/head
Wing-Kam Wong 2 years ago
parent
commit
09e158d65c
  1. 2
      packages/nc-gui-v2/composables/useViews.ts

2
packages/nc-gui-v2/composables/useViews.ts

@ -12,7 +12,7 @@ export function useViews(meta: MaybeRef<TableType | undefined>) {
if (_meta && _meta.id) {
const response = (await $api.dbView.list(_meta.id)).list
if (response) {
// views = response.sort((a, b) => a.order! - b.order!)
views = response.sort((a, b) => a.order! - b.order!)
}
}
}

Loading…
Cancel
Save