From 7456dc6f4eb05f2040cd32dcd7b323251dce3af6 Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Thu, 8 Oct 2020 09:04:57 +0000 Subject: [PATCH] FEAT #14790 TIME 0:05 fix bad if (cherry picked from commit ea5662f8e4c1dd46c8d92f570c79c4af20974865) --- src/frontend/app/diffusions/diffusions-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/diffusions/diffusions-list.component.ts b/src/frontend/app/diffusions/diffusions-list.component.ts index 21ab49e9b38..4dca93d62fc 100644 --- a/src/frontend/app/diffusions/diffusions-list.component.ts +++ b/src/frontend/app/diffusions/diffusions-list.component.ts @@ -177,7 +177,7 @@ export class DiffusionsListComponent implements OnInit { } } - if (this.category === 'outgoing' && this.keepDiffusionRoleInOutgoingIndexation) { + if (this.category === 'outgoing' && !this.keepDiffusionRoleInOutgoingIndexation) { Object.keys(this.diffList).forEach(key => { if (key !== 'dest') { this.diffList[key].items = []; -- GitLab