Skip to content

Commit d180aeb

Browse files
samhere06mohas22
andauthored
Dereferencing confirm pconn, providing pcon only when view is available (#250)
Co-authored-by: mohas22 <[email protected]>
1 parent 97acf37 commit d180aeb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h2>{{ containerName$ }}</h2>
3838
</div>
3939
</mat-card>
4040
</div>
41-
<div *ngIf="bShowBanner && bShowConfirm">
41+
<div *ngIf="bShowBanner && bShowConfirm && confirm_pconn">
4242
<component-mapper name="View" [props]="{ formGroup$, pConn$: confirm_pconn }"></component-mapper>
4343
</div>
4444
</div>

packages/angular-sdk-components/src/lib/_components/infra/Containers/flow-container/flow-container.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ export class FlowContainerComponent extends FlowContainerBaseComponent implement
484484
updateFlowContainerChildren() {
485485
// routingInfo was added as component prop in populateAdditionalProps
486486
const routingInfo = this.angularPConnect.getComponentProp(this, 'routingInfo');
487+
this.confirm_pconn = null;
487488

488489
let loadingInfo: any;
489490
try {

0 commit comments

Comments
 (0)