Make update-through-link equivalent to auto-update cycle

This commit is contained in:
Raymond Hill 2023-10-30 12:09:16 -04:00
parent 4fa92f930e
commit 032f170dba
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 2 additions and 2 deletions

View File

@ -2072,7 +2072,7 @@ const onMessage = function(request, sender, callback) {
url: 'dashboard.html#3p-filters.html',
select: true,
});
io.updateStart({ delay: 100, auto: request.softUpdate });
io.updateStart({ delay: 100, auto: request.manual !== true });
break;
default:

View File

@ -55,7 +55,7 @@ function updateStockLists(target) {
vAPI.messaging.send('scriptlets', {
what: 'updateLists',
listkeys,
softUpdate: updateURL.searchParams.get('soft') && true || false,
manual: updateURL.searchParams.get('manual') && true || false,
});
return true;
} catch (_) {