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 7dc359b..f9d88b2 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
@@ -155,11 +155,10 @@
dBlock: openUserWindowBoolean,
dNone: !openUserWindowBoolean
}"
- [user]="user"
+ [users]="users"
[openUserWindowBoolean]="openUserWindowBoolean"
(closeUserWindow)="changeOpenUserWindowBoolean($event)"
>
- @if (!publicChannelsList.includes(currentChannel)) {
- }
diff --git a/src/app/components/main-chat/channel-information/channel-information.component.ts b/src/app/components/main-chat/channel-information/channel-information.component.ts
index 6975f0b..ec8a7e5 100644
--- a/src/app/components/main-chat/channel-information/channel-information.component.ts
+++ b/src/app/components/main-chat/channel-information/channel-information.component.ts
@@ -36,7 +36,7 @@ export class ChannelInformationComponent {
descriptionValue: string = '';
getCurrentChannel: Channel[] = [];
openUserWindowBoolean: boolean = false;
- user: User[] = [];
+ users: User[] = [];
publicChannelsList: string[] = [];
constructor(
@@ -145,7 +145,7 @@ export class ChannelInformationComponent {
* @param {User} user - The user to display information about.
*/
openUserWindow(user: User) {
- this.user = [user];
+ this.users = [user];
this.openUserWindowBoolean = !this.openUserWindowBoolean;
}
diff --git a/src/app/components/main-chat/show-channel-member/open-send-prv-message-window/open-send-prv-message-window.component.html b/src/app/components/main-chat/show-channel-member/open-send-prv-message-window/open-send-prv-message-window.component.html
index ad98649..21ac387 100644
--- a/src/app/components/main-chat/show-channel-member/open-send-prv-message-window/open-send-prv-message-window.component.html
+++ b/src/app/components/main-chat/show-channel-member/open-send-prv-message-window/open-send-prv-message-window.component.html
@@ -2,7 +2,7 @@
@if (showProfil) {
- @for(i of talkToUser; track i){
+ @for(user of talkToUser; track user){
-
+
-
{{ i.firstName }} {{ i.lastName }}
+
{{ user.firstName }} {{ user.lastName }}

- @if (i.status) {
+ @if (user.status) {
{{ "open-send-prv-message.aktiv" | translate }}
@@ -37,7 +37,7 @@
@@ -45,7 +45,7 @@
} } @else {
- @for(i of user; track i){
+ @for(user of users; track user){
-
+
-
{{ i.firstName }} {{ i.lastName }}
+
{{ user.firstName }} {{ user.lastName }}

- @if (i.status) {
+ @if (user.status) {
{{ "open-send-prv-message.aktiv" | translate }}
@@ -79,11 +79,11 @@
-