Skip to content

Commit 984c794

Browse files
committed
AP-24593: Import App.vue after initializing services
AP-24593 (Show K-AI disclaimer in Scripting Editor only once)
1 parent 10a73f8 commit 984c794

File tree

1 file changed

+2
-2
lines changed
  • org.knime.python3.scripting.nodes/js-src/src

1 file changed

+2
-2
lines changed

org.knime.python3.scripting.nodes/js-src/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { Consola, LogLevels } from "consola";
44
import { init, initMocked } from "@knime/scripting-editor";
55
import { LoadingApp } from "@knime/scripting-editor/loading";
66

7-
import App from "@/components/App.vue";
8-
97
import { initPython } from "./init";
108

119
const setupConsola = () => {
@@ -34,6 +32,8 @@ if (import.meta.env.MODE === "development.browser") {
3432
initPython();
3533
}
3634

35+
const App = (await import("@/components/App.vue")).default;
36+
3737
// Unmount loading app and mount the main app
3838
loadingApp.unmount();
3939
createApp(App).mount("#app");

0 commit comments

Comments
 (0)