From f3b89f606d1bdaf6106d2eed5715be42bc05acc9 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Thu, 19 Sep 2024 20:23:23 +0200 Subject: [PATCH] Fix: disable ability to leave publicChannels --- .../channel-information/channel-information.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/components/main-chat/channel-information/channel-information.component.html b/src/app/components/main-chat/channel-information/channel-information.component.html index f9d88b2..e7d72d9 100644 --- a/src/app/components/main-chat/channel-information/channel-information.component.html +++ b/src/app/components/main-chat/channel-information/channel-information.component.html @@ -159,6 +159,7 @@ [openUserWindowBoolean]="openUserWindowBoolean" (closeUserWindow)="changeOpenUserWindowBoolean($event)" > + @if (!publicChannelsList.includes(currentChannel)) {
+ }