mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 23:05:29 +08:00
fix(plugin-sql-editor): CB-396 concurrent sql editor opening
This commit is contained in:
@@ -51,7 +51,10 @@ export class SqlEditorNavigatorService {
|
||||
private connectionInfoResource: ConnectionInfoResource,
|
||||
private sqlEditorTabService: SqlEditorTabService
|
||||
) {
|
||||
this.navigator = new Executor<SQLCreateAction | SQLEditorAction>()
|
||||
this.navigator = new Executor<SQLCreateAction | SQLEditorAction>(
|
||||
null,
|
||||
(active, current) => active.type === current.type
|
||||
)
|
||||
.addHandler(this.navigateHandler.bind(this));
|
||||
this.connectionsManagerService.onCloseConnection.subscribe(this.handleConnectionClose.bind(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user