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

This commit is contained in:
Matt A. Tobin 2019-05-29 16:01:18 -04:00 committed by Roy Tam
commit 254714d53b

View file

@ -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();