filter
This commit is contained in:
1 parent
3082794436
commit
67d30a6f32
4 files changed
+16
-7
No files matched your search
+2
-2
@@ -75,9 +75,9 @@ export const useIssueStore = defineStore('item', () => {
|
||||
}
|
||||
}
|
||||
|
||||
async function getStat(): Promise<IssueStat | undefined> {
|
||||
async function getStat(projectId?: string | null): Promise<IssueStat | undefined> {
|
||||
try {
|
||||
stats.value = await itemStat()
|
||||
stats.value = await itemStat(projectId ?? undefined)
|
||||
|
||||
return stats.value
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user