diff --git a/frontend/src/app/sessions/user-sessions-wrapper/active-sessions/active-sessions.component.ts b/frontend/src/app/sessions/user-sessions-wrapper/active-sessions/active-sessions.component.ts index 046ce3da5..f88530dc2 100644 --- a/frontend/src/app/sessions/user-sessions-wrapper/active-sessions/active-sessions.component.ts +++ b/frontend/src/app/sessions/user-sessions-wrapper/active-sessions/active-sessions.component.ts @@ -64,14 +64,14 @@ export class ActiveSessionsComponent implements OnInit { ngOnInit(): void { this.userSessionService.sessions$.subscribe((sessions) => { - const selectedSessionIDs = new Set( - this.sessions.value?.filter((s) => s.selected).map((s) => s.id) ?? [], + const unselectedSessionIDs = new Set( + this.sessions.value?.filter((s) => !s.selected).map((s) => s.id) ?? [], ); this.sessions.next( sessions?.map((s) => ({ ...s, - selected: selectedSessionIDs.has(s.id), + selected: !unselectedSessionIDs.has(s.id), })), ); }); diff --git a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.css b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.css deleted file mode 100644 index f3134ad46..000000000 --- a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.css +++ /dev/null @@ -1,13 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -form .mat-form-field { - width: 196px; -} - -.mat-card { - width: 450px; - max-width: 85vw; -} diff --git a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.html b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.html index b02760b71..622b9085a 100644 --- a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.html +++ b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.html @@ -78,24 +78,22 @@