Browse Source

chore/gui-v2-user-management-project-provide-populated-before-navigating-to-project-page

pull/2854/head
Muhammed Mustafa 2 years ago
parent
commit
ef76cc2074
  1. 4
      packages/nc-gui-v2/pages/index/index.vue

4
packages/nc-gui-v2/pages/index/index.vue

@ -15,6 +15,7 @@ import MdiDatabaseOutline from '~icons/mdi/database-outline'
const { $api, $state, $e } = useNuxtApp()
const toast = useToast()
const { loadProject } = useProject()
const filterQuery = ref('')
const loading = ref(true)
@ -121,8 +122,9 @@ $state.sidebarOpen.value = false
v-else
:custom-row="
(record) => ({
onClick: () => {
onClick: async () => {
$e('a:project:open')
await loadProject(record.id)
navigateTo(`/nc/${record.id}`)
},
})

Loading…
Cancel
Save