[Task modal, subtask modal] BE

This commit is contained in:
Matej Glasnák committed 2023-02-10 03:38:54 +01:00
1 parent 37331335ce
commit 1024f73ab5
12 files changed
+477 -489

No files matched your search

@@ -84,6 +84,7 @@ export default {
})
this.$events.on('on-master-task-edited', (masterTask) => {
this.masterTasks = this.masterTasks.map(mTask => mTask.id == masterTask.id ? masterTask : mTask)
this._getData()
})
},
@@ -92,7 +93,7 @@ export default {
async _getData() {
try {
this.teams = await this.$axios.get_auth_data('v1/teams')
this.projects = await this.$axios.get_auth_data('v1/projects')
this.projects = await this.$axios.get_auth_data('v1/projects')
this.employees = await this.$axios.get_auth_data('v1/employees')
this.masterTasks = await this.$axios.get_auth_data('v1/mastertasks')
} catch (error) {