diff --git a/src/app/structure-list/components/structure-details/structure-details.component.ts b/src/app/structure-list/components/structure-details/structure-details.component.ts index 42eb58de7c62f987b51e1145ae1a2e0cb7a50de5..1e12ab4d7f70d18919ceff0cf1b10afb59ee230f 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.ts +++ b/src/app/structure-list/components/structure-details/structure-details.component.ts @@ -234,7 +234,7 @@ export class StructureDetailsComponent implements OnInit { }); } public canDelete(): boolean { - if (this.profileService.isAdmin() || this.profileService.isLinkedToStructure(this.structure._id)) { + if (this.profileService.isAdmin()) { return true; } return false;