1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-27 07:39:49 +01:00

account for potential null config in SendFilePopoutDialogContainerComponent (#11372)

This commit is contained in:
Jordan Aasen 2024-10-23 08:20:34 -07:00 committed by GitHub
parent 947e4154a4
commit dfa7509c8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);