forked from cerc-io/cosmos-explorer
Disable Delegations
This commit is contained in:
parent
74024f825c
commit
a2979a75ef
@ -138,12 +138,9 @@ onMounted(() => {
|
||||
});
|
||||
|
||||
// Disable delegations due to its bad performance
|
||||
// Comment out the following code if you want to enable it
|
||||
// pageload(1)
|
||||
|
||||
// blockchain.rpc.getDistributionValidatorSlashes(validator).then(res => {
|
||||
// // delegations.value = res
|
||||
// console.log('slashs:', res)
|
||||
// })
|
||||
}
|
||||
});
|
||||
let showCopyToast = ref(0);
|
||||
@ -489,7 +486,7 @@ function pageload(p: number) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-5 bg-base-100 shadow rounded p-4 hidden">
|
||||
<div v-if="delegations.delegation_responses" class="mt-5 bg-base-100 shadow rounded p-4 ">
|
||||
<div class="text-lg mb-4 font-semibold">{{ $t('account.delegations') }}
|
||||
<span class="float-right"> {{ delegations.delegation_responses?.length || 0 }} / {{ delegations.pagination?.total || 0 }} </span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user