From bc25eae5fb2cd2c1832099c8f053c526d7577a77 Mon Sep 17 00:00:00 2001 From: Damien <damien.burel@maarch.org> Date: Fri, 17 Jan 2020 11:34:26 +0100 Subject: [PATCH] FEAT #12765 TIME 0:25 Fix create circuits in entity administration --- .../entity/entities-administration.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/app/administration/entity/entities-administration.component.ts b/src/frontend/app/administration/entity/entities-administration.component.ts index 07139b9d63e..999ed80d0a2 100755 --- a/src/frontend/app/administration/entity/entities-administration.component.ts +++ b/src/frontend/app/administration/entity/entities-administration.component.ts @@ -631,7 +631,7 @@ export class EntitiesAdministrationComponent implements OnInit { } newDiffList.items.push(listModel); }); - this.http.post("../../rest/listTemplates", newDiffList) + this.http.post("../../rest/listTemplates?admin=true", newDiffList) .subscribe((data: any) => { this.idVisaCircuit = data.id; this.notify.success(this.lang.diffusionModelUpdated); @@ -676,7 +676,7 @@ export class EntitiesAdministrationComponent implements OnInit { }; if (this.idOpinionCircuit == null) { newDiffList.items = this.currentEntity.opinionCircuit.items; - this.http.post("../../rest/listTemplates", newDiffList) + this.http.post("../../rest/listTemplates?admin=true", newDiffList) .subscribe((data: any) => { this.idOpinionCircuit = data.id; this.notify.success(this.lang.diffusionModelUpdated); -- GitLab