fix: 🐛 handle null window in case of popup blocker
This commit is contained in:
1 file changed
+1
-1
@@ -28,7 +28,7 @@ export default class WindowManagerService extends Service {
|
||||
*/
|
||||
open(url) {
|
||||
const newWindow = this.window.open(url);
|
||||
this.add(newWindow);
|
||||
if (newWindow) this.add(newWindow);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user