mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
account for potential null config in SendFilePopoutDialogContainerComponent (#11372)
This commit is contained in:
parent
947e4154a4
commit
dfa7509c8e
@ -26,8 +26,8 @@ export class SendFilePopoutDialogContainerComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
if (
|
if (
|
||||||
this.config.sendType === SendType.File &&
|
this.config?.sendType === SendType.File &&
|
||||||
this.config.mode === "add" &&
|
this.config?.mode === "add" &&
|
||||||
this.filePopoutUtilsService.showFilePopoutMessage(window)
|
this.filePopoutUtilsService.showFilePopoutMessage(window)
|
||||||
) {
|
) {
|
||||||
this.dialogService.open(SendFilePopoutDialogComponent);
|
this.dialogService.open(SendFilePopoutDialogComponent);
|
||||||
|
Loading…
Reference in New Issue
Block a user