Skip to content

Commit

Permalink
Make update-through-link equivalent to auto-update cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Oct 30, 2023
1 parent 4fa92f9 commit 032f170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/messaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/js/scriptlets/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (_) {
Expand Down

0 comments on commit 032f170

Please sign in to comment.