From bddb75d5ca18f344eab093389333a1fb0dc12630 Mon Sep 17 00:00:00 2001 From: Luisa Date: Thu, 21 Sep 2023 10:47:24 +0200 Subject: [PATCH] Navigate back to projector list on individual deletion --- .../components/projector-detail/projector-detail.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/site/pages/meetings/pages/projectors/modules/projector-detail/components/projector-detail/projector-detail.component.ts b/client/src/app/site/pages/meetings/pages/projectors/modules/projector-detail/components/projector-detail/projector-detail.component.ts index 6a5368ebed..0fe13070ed 100644 --- a/client/src/app/site/pages/meetings/pages/projectors/modules/projector-detail/components/projector-detail/projector-detail.component.ts +++ b/client/src/app/site/pages/meetings/pages/projectors/modules/projector-detail/components/projector-detail/projector-detail.component.ts @@ -189,6 +189,7 @@ export class ProjectorDetailComponent extends BaseMeetingComponent implements On const content = this.projector.name; if (this.projector && (await this.promptService.open(title, content))) { this.repo.delete(this.projector); + this.router.navigate([`../../`], { relativeTo: this.route }); } }