diff --git a/src/frontend/app/diffusions/diffusions-list.component.ts b/src/frontend/app/diffusions/diffusions-list.component.ts index 21ab49e9b3827689fefd4160b09147dadfd2ec07..4dca93d62fc157a2b1181b93d3bc938d0300fc5b 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 = [];