Merge pull request #2966 from beekeeper-studio/fix/sqltexteditor-race

fix sql text editor race condition
This commit is contained in:
Day Matchullis
2025-04-03 11:37:35 -06:00
committed by GitHub

View File

@@ -686,17 +686,17 @@
initialize() {
this.initialized = true
// TODO (matthew): Add hint options for all tables and columns\
this.initializeQueries()
this.query.title = this.activeTab.title
this.tab.unsavedChanges = this.unsavedChanges
if (this.split) {
this.split.destroy();
this.split = null;
}
this.$nextTick(() => {
this.initializeQueries()
this.tab.unsavedChanges = this.unsavedChanges
this.split = Split(this.splitElements, {
elementStyle: (_dimension, size) => ({
'flex-basis': `calc(${size}%)`,