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 @@

Persistent Workspace Session

} } -
- -
+ diff --git a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.ts b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.ts index 8677383b9..30715c6d0 100644 --- a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.ts +++ b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-persistent-session/create-persistent-session.component.ts @@ -33,7 +33,6 @@ import { CreateSessionHistoryComponent } from '../create-session-history/create- @Component({ selector: 'app-create-persistent-session', templateUrl: './create-persistent-session.component.html', - styleUrls: ['./create-persistent-session.component.css'], imports: [ FormsModule, ReactiveFormsModule, diff --git a/frontend/src/app/users/users-profile/user-workspaces/user-workspaces.component.html b/frontend/src/app/users/users-profile/user-workspaces/user-workspaces.component.html index 81c98b652..84a299c9a 100644 --- a/frontend/src/app/users/users-profile/user-workspaces/user-workspaces.component.html +++ b/frontend/src/app/users/users-profile/user-workspaces/user-workspaces.component.html @@ -16,7 +16,7 @@

User workspaces

} @else { @for (workspace of workspaces | async; track workspace.id) {