diff --git a/launcher/src/components/UI/control-page/ControlScreen.vue b/launcher/src/components/UI/control-page/ControlScreen.vue index 57c73810e..0c242baa9 100644 --- a/launcher/src/components/UI/control-page/ControlScreen.vue +++ b/launcher/src/components/UI/control-page/ControlScreen.vue @@ -3,9 +3,10 @@
- + +
@@ -15,18 +16,32 @@ import { useSetups } from "@/store/setups"; import { useFooter } from "@/store/theFooter"; import { useServices } from "@/store/services"; -import { watch, computed } from "vue"; +import { watch, computed, ref } from "vue"; import ControlHeader from "./sections/ControlHeader.vue"; import CommonSidebar from "./sections/CommonSidebar.vue"; import AlertSection from "./sections/AlertSection.vue"; import StakingSidebar from "./sections/StakingSidebar.vue"; import SidebarRight from "./sections/SidebarRight.vue"; +import ExpertWindow from "../node-page/sections/ExpertWindow.vue"; const setupStore = useSetups(); const footerStore = useFooter(); const serviceStore = useServices(); +const isExpertWindowOpen = ref(false); +const expertModeClient = ref(null); + +const hideExpertMode = (el) => { + expertModeClient.value = el; + isExpertWindowOpen.value = false; +}; + +const expertModeHandlerAlert = (validator) => { + expertModeClient.value = validator; + isExpertWindowOpen.value = true; +}; + const selectedConfigServices = computed(() => { let services = []; const selectedSetup = setupStore.selectedSetup; diff --git a/launcher/src/components/UI/control-page/components/alert/ControlAlert.vue b/launcher/src/components/UI/control-page/components/alert/ControlAlert.vue index bac8bf888..32e0eec5b 100755 --- a/launcher/src/components/UI/control-page/components/alert/ControlAlert.vue +++ b/launcher/src/components/UI/control-page/components/alert/ControlAlert.vue @@ -215,6 +215,7 @@ +
- +
diff --git a/launcher/src/components/UI/node-page/sections/ExpertWindow.vue b/launcher/src/components/UI/node-page/sections/ExpertWindow.vue index 26234eca6..bcf43bbf8 100755 --- a/launcher/src/components/UI/node-page/sections/ExpertWindow.vue +++ b/launcher/src/components/UI/node-page/sections/ExpertWindow.vue @@ -311,6 +311,7 @@ export default { bgOpacity: { type: String, required: false, + default: "opacity-100", }, leftDistance: { type: String,