Browse Source

fix(gui-v2): change const views to let views

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

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

@ -3,7 +3,7 @@ import type { MaybeRef } from '@vueuse/core'
import { useNuxtApp } from '#app' import { useNuxtApp } from '#app'
export function useViews(meta: MaybeRef<TableType | undefined>) { export function useViews(meta: MaybeRef<TableType | undefined>) {
const views = $ref<ViewType[]>([]) let views = $ref<ViewType[]>([])
const { $api } = useNuxtApp() const { $api } = useNuxtApp()
const loadViews = async () => { const loadViews = async () => {

Loading…
Cancel
Save