mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Fix promise rejection on missing tray on Linux (#9265)
This commit is contained in:
@@ -140,7 +140,7 @@ export class TrayMain {
|
||||
}
|
||||
|
||||
updateContextMenu() {
|
||||
if (this.contextMenu != null && this.isLinux()) {
|
||||
if (this.tray != null && this.contextMenu != null && this.isLinux()) {
|
||||
this.tray.setContextMenu(this.contextMenu);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user