Close Model Alerts view when Model editor closes (#3468)
This commit is contained in:
@@ -87,5 +87,13 @@ export class ModelAlertsView extends AbstractWebview<
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
||||
this.push(
|
||||
this.modelingEvents.onDbClosed(async (event) => {
|
||||
if (event === this.dbItem.databaseUri.toString()) {
|
||||
this.dispose();
|
||||
}
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user