[Projects overview] Added filter logics and prepared for BE

This commit is contained in:
Matej Glasnák committed 2023-01-27 00:48:39 +01:00
1 parent d7b26d731a
commit 4cd1504343
12 files changed
+1688 -198

No files matched your search

+2 -2
View File
@@ -125,7 +125,7 @@ export default {
},
async onEventMoved(event) {
console.log("drag", event)
// console.log("drag", event)
const task = this.timelineData.tasks.find(task => task.id == event.event.id)
try {
@@ -138,7 +138,7 @@ export default {
task.split = event.newSplit
} catch(error) {
this.$toast.error(error)
task.start = new Date(event.originalEvent.start)
task.end = new Date(event.originalEvent.end)
task.split = event.oldSplit