diff --git a/js/ui/status/system.js b/js/ui/status/system.js index f13ad51bd..d474e59dc 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -285,7 +285,7 @@ const Indicator = new Lang.Class({ let disabled = Main.sessionMode.isLocked || (Main.sessionMode.isGreeter && this._loginScreenSettings.get_boolean(DISABLE_RESTART_KEY)); - this._suspendAction.visible = this._haveShutdown && !disabled; + this._suspendAction.visible = this._haveSuspend && !disabled; this._updateActionsVisibility(); },