Disable performance
This commit is contained in:
parent
14119034c4
commit
74024f825c
@ -137,7 +137,8 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
pageload(1)
|
// Disable delegations due to its bad performance
|
||||||
|
// pageload(1)
|
||||||
|
|
||||||
// blockchain.rpc.getDistributionValidatorSlashes(validator).then(res => {
|
// blockchain.rpc.getDistributionValidatorSlashes(validator).then(res => {
|
||||||
// // delegations.value = res
|
// // delegations.value = res
|
||||||
@ -487,7 +488,8 @@ function pageload(p: number) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-5 bg-base-100 shadow rounded p-4">
|
|
||||||
|
<div class="mt-5 bg-base-100 shadow rounded p-4 hidden">
|
||||||
<div class="text-lg mb-4 font-semibold">{{ $t('account.delegations') }}
|
<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>
|
<span class="float-right"> {{ delegations.delegation_responses?.length || 0 }} / {{ delegations.pagination?.total || 0 }} </span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user