diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 01b4702a5..5ae4ae6d6 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -559,7 +559,7 @@ const UserMenuButton = new Lang.Class({ _updateLockScreen: function() { let allowLockScreen = !this._lockdownSettings.get_boolean(DISABLE_LOCK_SCREEN_KEY); - this._logoutItem.actor.visible = allowLockScreen; + this._lockScreenItem.actor.visible = allowLockScreen; }, _updateHaveShutdown: function() {