From a68facbe751764d4c82eaebaaaef91a2d61dcbd8 Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Fri, 18 Oct 2019 10:05:42 +0200 Subject: [PATCH] fix no difflist data in adminmode --- .../app/indexation/indexing-form/indexing-form.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts index 2197fbc0880..663851d8dac 100644 --- a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts +++ b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts @@ -260,7 +260,7 @@ export class IndexingFormComponent implements OnInit { } else { element.default_value = this.arrFormControl[element.identifier].value; } - if (element.identifier === "destination") { + if (element.identifier === "destination" && !this.adminMode) { arrIndexingModels.push({ identifier : 'diffusionList', default_value : this.arrFormControl['diffusionList'].value -- GitLab