Skip to content

Commit

Permalink
Response window with Slashing DB (#1920)
Browse files Browse the repository at this point in the history
* Test Commit

* FIX: response window with slashing DB

* UPDATE: clear the logs and additional

* UPDATE: debug the data
  • Loading branch information
mabasian committed Jun 28, 2024
1 parent e96b50f commit 4686920
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
</staking-custom-modal>
</template>
<script setup>
import { computed, ref, watch, onMounted, nextTick } from "vue";
import { computed, ref, watch, onMounted, nextTick, onUnmounted } from "vue";
import { useStakingStore } from "@/store/theStaking";
import { useListKeys } from "@/composables/validators";
Expand Down Expand Up @@ -179,6 +179,15 @@ onMounted(() => {
stakingStore.slashingDB = null;
});
onUnmounted(() => {
pickedSlashing.value = null;
stakingStore.importKeyMessage = "";
stakingStore.forceRefresh = !stakingStore.forceRefresh;
isSlashingActive.value = true;
checkProcessing.value = false;
activeButton.value = false;
});
//Methods
const getNo = () => {
Expand Down

0 comments on commit 4686920

Please sign in to comment.