diff --git a/launcher/src/components/UI/staking-page/StakingScreen.vue b/launcher/src/components/UI/staking-page/StakingScreen.vue index feb9d6b53..33a05116d 100644 --- a/launcher/src/components/UI/staking-page/StakingScreen.vue +++ b/launcher/src/components/UI/staking-page/StakingScreen.vue @@ -46,7 +46,7 @@ import { useServices } from "@/store/services"; import { useSetups } from "@/store/setups"; import { useStakingStore } from "@/store/theStaking"; import { saveAs } from "file-saver"; -import { computed, onMounted, onUnmounted, watch, watchEffect } from "vue"; +import { computed, onMounted, onUnmounted, watch } from "vue"; import ControlService from "../../../store/ControlService"; import ImportRemote from "./components/modals/ImportRemote.vue"; import ImportValidator from "./components/modals/ImportValidator.vue"; @@ -128,6 +128,9 @@ onMounted(async () => { stakingStore.forceRefresh = true; getServerView(); await listKeys(); + if (stakingStore.keys.length > 0 && setupStore.allSetups.length > 0) { + getKeySetupColor(); + } }); // *************** Methods ***************** @@ -739,12 +742,6 @@ const confirmImportRemoteKeys = async () => { //****End of Client Commands Buttons **** -watchEffect(() => { - if (stakingStore.keys.length > 0 && setupStore.allSetups.length > 0) { - getKeySetupColor(); - } -}); - onUnmounted(() => { setupStore.selectedSetup = null; getServerView(); diff --git a/launcher/src/components/UI/staking-page/components/list/ListBody.vue b/launcher/src/components/UI/staking-page/components/list/ListBody.vue index 0dd247c27..c0a366008 100644 --- a/launcher/src/components/UI/staking-page/components/list/ListBody.vue +++ b/launcher/src/components/UI/staking-page/components/list/ListBody.vue @@ -58,6 +58,7 @@ " :key="key" :item="key" + @remove-dplg="removeDoppelGangerManually" />