Skip to content

Commit 4ca89e8

Browse files
committed
DHFPROD-2494: add a default collection to mapping step in UI when set
1 parent 65c062e commit 4ca89e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/main/ui/app/components/flows-new/edit-flow/mapping/mapping.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export class MappingComponent implements OnInit {
9494
} else if (this.step.options.sourceDatabase === this.envService.settings.finalDbName) {
9595
this.sourceDbType = 'FINAL';
9696
}
97+
if(!this.step.options.collections || this.step.options.collections.length === 0){
98+
this.step.options.collections = [`${this.step.name}`];
99+
}
97100
this.loadEntity();
98101
this.loadMap();
99102
}

0 commit comments

Comments
 (0)