Skip to content

Commit

Permalink
menu_items in bumps renamed to file_menu_items in #188
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Nov 21, 2024
1 parent e3639a1 commit 4565664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refl1d/webview/client/src/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "bootstrap/dist/css/bootstrap.min.css";
import { computed, createApp } from "vue";
import { fileBrowser, menu_items, model_file, socket } from "bumps-webview-client/src/app_state";
import { file_menu_items, fileBrowser, model_file, socket } from "bumps-webview-client/src/app_state";
import App from "bumps-webview-client/src/App.vue";
import { dqIsFWHM } from "./app_state";
import { panels } from "./panels.mjs";
Expand Down Expand Up @@ -28,4 +28,4 @@ async function loadProbeFromFile() {

createApp(App, { panels, name }).mount("#app");
const modelNotLoaded = computed(() => model_file.value == null);
menu_items.value.push({ text: "Load Data into Model", action: loadProbeFromFile, disabled: modelNotLoaded });
file_menu_items.value.push({ text: "Load Data into Model", action: loadProbeFromFile, disabled: modelNotLoaded });

0 comments on commit 4565664

Please sign in to comment.