mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
account for potential null config in SendFilePopoutDialogContainerComponent (#11372)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user