From f57f805dd543b8d249de82f6ab88ce3ae5f3a50e Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Wed, 10 Apr 2024 09:24:32 -0400 Subject: [PATCH] Update indicator on current-realm property change ...even if WorkspaceContext does not change. --- js/ui/realms/realmManager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/realms/realmManager.js b/js/ui/realms/realmManager.js index 6a2970ae0..03775d666 100644 --- a/js/ui/realms/realmManager.js +++ b/js/ui/realms/realmManager.js @@ -34,6 +34,9 @@ export const RealmManager = class { Main.overview.dash._queueRedisplay(); this._realmIndicator.update(); }); + realms.connect('notify::current-realm', () => { + this._realmIndicator.update(); + }); this._switchAnimation = new RealmSwitcher.ContextSwitchAnimationController(this._realmIndicator);