diff --git a/src/scripts/taskbutton.js b/src/scripts/taskbutton.js index 6df7ee848..fc56bbfaa 100644 --- a/src/scripts/taskbutton.js +++ b/src/scripts/taskbutton.js @@ -14,7 +14,7 @@ export default function (options) { function updateTasks(tasks) { const task = tasks.filter(function (t) { - return t.Key == options.taskKey; + return t.ScheduledTask.Key == options.taskKey; })[0]; if (options.panel) {