Skip to content

Commit 6aea2d5

Browse files
committed
fixes app crash in desktop mode when schema editor opens immediately after start
1 parent 52b9468 commit 6aea2d5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pgmanage/app/static/pgmanage_frontend/src/components/DatabaseTabs.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ import ContextMenu from "@imengyu/vue3-context-menu";
120120
import SnippetTab from "./SnippetTab.vue";
121121
import TabsUtils from "../mixins/tabs_utils_mixin";
122122
import QueryTab from "./QueryTab.vue";
123+
import SchemaEditorTab from "./SchemaEditorTab.vue";
123124
124125
export default {
125126
name: "DatabaseTabs",
@@ -134,10 +135,8 @@ export default {
134135
RestoreTab: defineAsyncComponent(() => import("./RestoreTab.vue")),
135136
ERDTab: defineAsyncComponent(() => import("./ERDTab.vue")),
136137
DataEditorTab: defineAsyncComponent(() => import("./DataEditorTab.vue")),
137-
SchemaEditorTab: defineAsyncComponent(() =>
138-
import("./SchemaEditorTab.vue")
139-
),
140138
MonitoringTab: defineAsyncComponent(() => import("./MonitoringTab.vue")),
139+
SchemaEditorTab,
141140
QueryTab,
142141
SnippetTab,
143142
},

0 commit comments

Comments
 (0)