From 02bcc830c15392558c98926f7f11a328293d1d6d Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Thu, 3 Sep 2020 12:20:02 +0200 Subject: [PATCH] Fix task filter for the scan task button --- src/scripts/taskbutton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/taskbutton.js b/src/scripts/taskbutton.js index 6df7ee848d..fc56bbfaae 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) {