1 parent
cc490f8d4a
commit
7639a54c50
8 files changed
+135
-2
No files matched your search
+3
-1
@@ -4,6 +4,7 @@ import { storeToRefs } from 'pinia'
|
||||
import { computed, onMounted, watch } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useStatusStore } from '@/stores/status.ts'
|
||||
import { useIssueTypeStore } from '@/stores/issue-type.ts'
|
||||
import { useIssueStore } from '@/stores/issue.ts'
|
||||
import { useProjectStore } from '@/stores/project.ts'
|
||||
import { authClient } from '@/lib/auth-client.ts'
|
||||
@@ -13,6 +14,7 @@ import SnackbarQueue from '@/components/SnackbarQueue.vue'
|
||||
const route = useRoute()
|
||||
const issueStore = useIssueStore()
|
||||
const statusStore = useStatusStore()
|
||||
const issueTypeStore = useIssueTypeStore()
|
||||
const projectStore = useProjectStore()
|
||||
const session = authClient.useSession()
|
||||
const push = usePushNotifications()
|
||||
@@ -60,7 +62,7 @@ const layout = computed(() => {
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
await statusStore.list()
|
||||
await Promise.all([statusStore.list(), issueTypeStore.list()])
|
||||
await issueStore.getStat(currentProjectId.value)
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user