fix get resources after login

This commit is contained in:
vadim committed 2026-10-21 12:56:57 +03:00
1 parent 327f59104d
commit 9303a66aa8
9 files changed
+69 -12

No files matched your search

+8 -1
View File
@@ -120,7 +120,14 @@ export const useIssueStore = defineStore('item', () => {
}
}
return { stats, dailyStats, list, calendar, getByKey, create, update, remove, getStat, getDailyStat }
function reset() {
issues.value = []
stats.value = undefined
dailyStats.value = undefined
error.value = null
}
return { stats, dailyStats, list, calendar, getByKey, create, update, remove, getStat, getDailyStat, reset }
})
/** Local YYYY-MM-DD `days` days before today */