From 3ccc6bbdf46a07b56bd4acdcdf3d13f1355ce837 Mon Sep 17 00:00:00 2001 From: Nekromateion <43814053+Nekromateion@users.noreply.github.com> Date: Tue, 10 Sep 2024 22:38:36 +0200 Subject: [PATCH] Fix group dialog not showing when user is traveling (#903) 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 6f6ecbc3..787e6053 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; }