From 3f31976a027d1bed70393ef596b75e5f005c71f2 Mon Sep 17 00:00:00 2001 From: Nekromateion <43814053+Nekromateion@users.noreply.github.com> Date: Sun, 8 Sep 2024 01:42:25 +0200 Subject: [PATCH] Fix group dialog not showing when user is traveling When viewing a profile of a user that is traveling to a group instance clicking the group name will not open the group dialog. --- html/src/app.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index cca36936b..5241519a9 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -991,10 +991,14 @@ speechSynthesis.getVoices(); } }, showGroupDialog() { - if (!this.location || !this.link) { + var location = this.location; + if (this.isTraveling) { + location = this.traveling; + } + if (!location || !this.link) { return; } - var L = API.parseLocation(this.location); + var L = API.parseLocation(location); if (!L.groupId) { return; }