[MM-49690] Set currentView to undefined
instead of using delete
(#2522)
This commit is contained in:
@@ -180,7 +180,7 @@ export class ViewManager {
|
||||
|
||||
if ((focusedTuple && closed.has(focusedTuple)) || (this.currentView && this.closedViews.has(this.currentView))) {
|
||||
if (configServers.length) {
|
||||
delete this.currentView;
|
||||
this.currentView = undefined;
|
||||
this.showInitial();
|
||||
} else {
|
||||
this.mainWindow.webContents.send(SET_ACTIVE_VIEW);
|
||||
|
Reference in New Issue
Block a user