From 84e62ce4220ca81205c0c3e3a236424d6ba93137 Mon Sep 17 00:00:00 2001 From: anbebe Date: Mon, 16 Dec 2024 11:15:40 +0100 Subject: [PATCH] Fix link for superadmin in account details --- .../components/account-detail/account-detail.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/app/site/pages/organization/pages/accounts/pages/account-detail/components/account-detail/account-detail.component.ts b/client/src/app/site/pages/organization/pages/accounts/pages/account-detail/components/account-detail/account-detail.component.ts index 4d98fe10ea..3e0512ce7c 100644 --- a/client/src/app/site/pages/organization/pages/accounts/pages/account-detail/components/account-detail/account-detail.component.ts +++ b/client/src/app/site/pages/organization/pages/accounts/pages/account-detail/components/account-detail/account-detail.component.ts @@ -251,7 +251,9 @@ export class AccountDetailComponent extends BaseComponent implements OnInit { is_archieved: meeting.isArchived, is_closed: meeting.locked_from_inside, is_public: meeting.publicAccessPossible(), - is_accessible: meeting.canAccess() && this.operator.isInMeeting(meeting.id) + is_accessible: + (meeting.canAccess() && this.operator.isInMeeting(meeting.id)) || + (!meeting.locked_from_inside && this.operator.isSuperAdmin) }; }); this._tableData = tableData;