[Master task, sub task] API

This commit is contained in:
Matej Glasnák committed 2023-02-09 03:43:32 +01:00
1 parent 4429e3e566
commit 6e8f57d06d
11 files changed
+188 -111

No files matched your search

@@ -86,7 +86,8 @@ export default {
background: unset
&:deep(.fc-day-today)
background: white
a
.fc-daygrid-day-top a
background: #3700B3
width: 28px
color: white
@@ -76,6 +76,16 @@ export default {
this._getData()
},
mounted() {
this.$events.on('on-master-task-deleted', (masterTask) => {
this.masterTasks = this.masterTasks.filter(mt => mt.id != masterTask.id)
})
this.$events.on('on-master-task-edited', (masterTask) => {
this._getData()
})
},
methods: {
async _getData() {
try {