diff --git a/launcher/public/output.css b/launcher/public/output.css index c4df8d2db6..6ad9d34d79 100755 --- a/launcher/public/output.css +++ b/launcher/public/output.css @@ -987,56 +987,20 @@ video { top: 1px; } -.top-\[56px\]{ - top: 56px; -} - -.top-\[7rem\]{ - top: 7rem; -} - -.bottom-8{ - bottom: 2rem; -} - -.top-\[-55\%\]{ - top: -55%; -} - -.top-\[-5rem\]{ - top: -5rem; -} - -.top-\[-10\%\]{ - top: -10%; -} - -.top-\[0\%\]{ - top: 0%; -} - -.top-\[10\%\]{ - top: 10%; -} - -.top-\[40\%\]{ - top: 40%; +.top-\[33\%\]{ + top: 33%; } .top-\[42\%\]{ top: 42%; } -.top-\[35\%\]{ - top: 35%; -} - -.top-\[32\%\]{ - top: 32%; +.top-\[56px\]{ + top: 56px; } -.top-\[33\%\]{ - top: 33%; +.top-\[7rem\]{ + top: 7rem; } .z-0{ diff --git a/launcher/src/components/UI/base-header/components/services/ServiceBody.vue b/launcher/src/components/UI/base-header/components/services/ServiceBody.vue index 6aeb9e9d68..b2d0aeb696 100644 --- a/launcher/src/components/UI/base-header/components/services/ServiceBody.vue +++ b/launcher/src/components/UI/base-header/components/services/ServiceBody.vue @@ -7,11 +7,61 @@ diff --git a/launcher/src/components/UI/edit-page/components/modals/MevboostRelays.vue b/launcher/src/components/UI/edit-page/components/modals/MevboostRelays.vue index e04b55eb16..e182e11368 100644 --- a/launcher/src/components/UI/edit-page/components/modals/MevboostRelays.vue +++ b/launcher/src/components/UI/edit-page/components/modals/MevboostRelays.vue @@ -1,5 +1,7 @@ - + manageStore.availableBlocks, set: () => (manageStore.availableBlocks = shuffleRelaysList( - manageStore.relaysList.filter((r) => r[manageStore.currentNetwork.network]) + manageStore.relaysList.filter((r) => r[setupsStore.selectedSetup.network]) )), }); @@ -43,7 +48,7 @@ onMounted(() => { relay.isSelected = false; }); manageStore.availableBlocks = shuffleRelaysList( - manageStore.relaysList.filter((r) => r[manageStore.currentNetwork.network]) + manageStore.relaysList.filter((r) => r[setupsStore.selectedSetup.network]) ); }); diff --git a/launcher/src/components/UI/services-modal/MevboostModal.vue b/launcher/src/components/UI/services-modal/MevboostModal.vue index 5241a1671d..814d9bc5aa 100755 --- a/launcher/src/components/UI/services-modal/MevboostModal.vue +++ b/launcher/src/components/UI/services-modal/MevboostModal.vue @@ -62,6 +62,7 @@ import { mapState, mapWritableState } from "pinia"; import { useNodeManage } from "@/store/nodeManage"; import { useServices } from "@/store/services"; +import { useSetups } from "@/store/setups"; import ControlService from "@/store/ControlService"; import { toRaw } from "vue"; export default { @@ -84,7 +85,9 @@ export default { }), ...mapWritableState(useNodeManage, { relaysList: "relaysList", - currentNetwork: "currentNetwork", + }), + ...mapState(useSetups, { + selectedSetup: "selectedSetup", }), combinedBlocs() { let names = new Set(); @@ -101,8 +104,9 @@ export default { mounted() { this.filtermevService(); this.availableBlocks = this.shuffleRelaysList( - this.relaysList.filter((r) => r[this.currentNetwork.network.toLowerCase()]) + this.relaysList.filter((r) => r[this.selectedSetup?.network.toLowerCase()]) ); + console.log(this.selectedSetup); }, methods: { shuffleRelaysList(array) { @@ -136,7 +140,7 @@ export default { if (service.entrypoint[relayEntryPointIndex + 1]) { const relayURLs = service.entrypoint[relayEntryPointIndex + 1].split(","); relayURLs.forEach((relay) => { - let relayData = this.relaysList.find((r) => r[this.currentNetwork.network.toLowerCase()] === relay); + let relayData = this.relaysList.find((r) => r[this.selectedSetup?.network.toLowerCase()] === relay); if (relayData) this.checkedRelays.push(relayData); }); } @@ -174,7 +178,7 @@ export default { this.loading = true; if (this.serviceConfig.entrypoint) { this.serviceConfig.entrypoint[this.serviceConfig.entrypoint.findIndex((e) => e === "-relays") + 1] = - this.checkedRelays.map((r) => r[this.currentNetwork.network.toLowerCase()]).join(); + this.checkedRelays.map((r) => r[this.selectedSetup?.network.toLowerCase()]).join(); ControlService.writeServiceConfig(toRaw(this.serviceConfig)).then(() => { setTimeout(() => { this.loading = false;