Merge pull request #1904 from jellyfin/fix_scan_all_libraries

Fix task filter for the scan task button
This commit is contained in:
dkanada 2020-09-03 23:30:29 +09:00 committed by GitHub
commit 3dc322d4bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,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) {