diff --git a/src/frontend/app/diffusions/diffusions-list.component.ts b/src/frontend/app/diffusions/diffusions-list.component.ts index ac04b9f4d00004f4a01cde1ab271978bafab1cfb..efb29a211885b30d4c33e7d6f7ef9655c52493d3 100644 --- a/src/frontend/app/diffusions/diffusions-list.component.ts +++ b/src/frontend/app/diffusions/diffusions-list.component.ts @@ -178,7 +178,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 = [];