Browse Source

Fix type-error;

feature/tasks
stingl 4 years ago
parent
commit
a5d03c2031
  1. 4
      js/app.js

4
js/app.js

@ -20,7 +20,7 @@ const TimeTrack = { @@ -20,7 +20,7 @@ const TimeTrack = {
},
tickets: [],
archive: [],
trashed: null,
trashed: {},
worktimeTracker: {
tracking: false,
number: 'Worktime',
@ -369,7 +369,7 @@ const TimeTrack = { @@ -369,7 +369,7 @@ const TimeTrack = {
restoreTrashed() {
let restoredTracker = null;
Object.assign(restoredTracker, this.trashed);
this.trashed = null;
this.trashed = {};
this.tickets.push(restoredTracker);
},