[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

@@ -40,9 +40,6 @@ export default {
const { subtask } = await this.$axios.put_auth(`v1/subtasks/${tempSubtask.id}`, tempSubtask)
this.visible = false
this.$store.dispatch('tm/loadMastertasks')
this.$store.dispatch('tm/loadUnscheduledSubtasks')
this.$store.dispatch('tm/loadOngoingSubtasks')
this.$emit('on-subtask-edited', subtask)
} catch (error) {
this.$toast.error(error)