[Pale Moon] Update the check for updates menu item logic for already staged automatic updates

pull/7/head
Matt A. Tobin 3 years ago committed by Roy Tam
parent 9592fe29c8
commit 254714d53b
  1. 2
      application/palemoon/base/content/utilityOverlay.js

@ -558,7 +558,7 @@ function checkForUpdates()
// If there's an update ready to be applied, show the "Update Downloaded"
// UI instead and let the user know they have to restart the application for
// the changes to be applied.
if (um.activeUpdate && um.activeUpdate.state == "pending")
if (um.activeUpdate && ["pending", "pending-elevate", "applied"].includes(um.activeUpdate.state))
prompter.showUpdateDownloaded(um.activeUpdate);
else
prompter.checkForUpdates();

Loading…
Cancel
Save