diff --git a/src/app/modules/details-table/details-item/details-item.component.ts b/src/app/modules/details-table/details-item/details-item.component.ts index 37e0197a3f6..154878ff790 100644 --- a/src/app/modules/details-table/details-item/details-item.component.ts +++ b/src/app/modules/details-table/details-item/details-item.component.ts @@ -5,8 +5,6 @@ import { ChangeDetectionStrategy, Component, input } from '@angular/core'; templateUrl: './details-item.component.html', styleUrl: './details-item.component.scss', standalone: true, - imports: [ - ], changeDetection: ChangeDetectionStrategy.OnPush, }) export class DetailsItemComponent { diff --git a/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.spec.ts b/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.spec.ts index 54991583e22..bb67ae8ca55 100644 --- a/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.spec.ts +++ b/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.spec.ts @@ -82,7 +82,7 @@ describe('UserDetailHeaderComponent', () => { expect(spectator.inject(SlideIn).open).toHaveBeenCalledWith( UserFormComponent, - { wide: true, data: dummyUser }, + { data: dummyUser }, ); }); diff --git a/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.ts b/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.ts index 312359e1a13..22f730ff0a0 100644 --- a/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.ts +++ b/src/app/pages/credentials/new-users/all-users/user-details/user-detail-header/user-detail-header.component.ts @@ -42,19 +42,17 @@ export class UserDetailHeaderComponent { ) {} doEdit(): void { - this.slideIn.open(UserFormComponent, { wide: true, data: this.user() }).pipe( - untilDestroyed(this), - ).subscribe(); + this.slideIn + .open(UserFormComponent, { data: this.user() }) + .pipe(untilDestroyed(this)) + .subscribe(); } doDelete(): void { - this.matDialog.open(DeleteUserDialog, { - data: this.user(), - }) + this.matDialog + .open(DeleteUserDialog, { data: this.user() }) .afterClosed() - .pipe( - untilDestroyed(this), - ) + .pipe(untilDestroyed(this)) .subscribe(); } } diff --git a/src/app/pages/credentials/new-users/user-form/additional-details-section/additional-details-section.component.html b/src/app/pages/credentials/new-users/user-form/additional-details-section/additional-details-section.component.html index cebba7ca98c..1c10457a83b 100644 --- a/src/app/pages/credentials/new-users/user-form/additional-details-section/additional-details-section.component.html +++ b/src/app/pages/credentials/new-users/user-form/additional-details-section/additional-details-section.component.html @@ -1,78 +1,61 @@ -