From dfa7509c8eab3f72e9ab25dc73b6e5a33047dd2e Mon Sep 17 00:00:00 2001 From: Jordan Aasen <166539328+jaasen-livefront@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:20:34 -0700 Subject: [PATCH] account for potential null config in SendFilePopoutDialogContainerComponent (#11372) --- .../send-file-popout-dialog-container.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/tools/popup/send-v2/send-file-popout-dialog/send-file-popout-dialog-container.component.ts b/apps/browser/src/tools/popup/send-v2/send-file-popout-dialog/send-file-popout-dialog-container.component.ts index d3d481063e..d535bbd86e 100644 --- a/apps/browser/src/tools/popup/send-v2/send-file-popout-dialog/send-file-popout-dialog-container.component.ts +++ b/apps/browser/src/tools/popup/send-v2/send-file-popout-dialog/send-file-popout-dialog-container.component.ts @@ -26,8 +26,8 @@ export class SendFilePopoutDialogContainerComponent implements OnInit { ngOnInit() { if ( - this.config.sendType === SendType.File && - this.config.mode === "add" && + this.config?.sendType === SendType.File && + this.config?.mode === "add" && this.filePopoutUtilsService.showFilePopoutMessage(window) ) { this.dialogService.open(SendFilePopoutDialogComponent);