[Subtask] Fixed timesheets

This commit is contained in:
Matej Glasnák committed 2023-02-28 02:06:51 +01:00
1 parent a9ce7c348e
commit 68b6e6f75a
5 files changed
+13 -12

No files matched your search

+9
View File
@@ -99,6 +99,15 @@ export default {
]).then(() => commit('initialized'))
},
reloadSubtasks({dispatch}: {dispatch: any}) {
return Promise.all([
dispatch('loadMastertasks'),
dispatch('loadProjects'),
dispatch('loadUnscheduledSubtasks'),
dispatch('loadOngoingSubtasks')
])
},
loadMastertasks({commit}: {commit: any}) {
return new Promise((resolve, reject) => {
axios.get_auth_data('v1/mastertasks')