Disable performance

This commit is contained in:
liangping 2023-09-18 13:20:28 +08:00
parent 14119034c4
commit 74024f825c

View File

@ -137,7 +137,8 @@ onMounted(() => {
});
});
pageload(1)
// Disable delegations due to its bad performance
// pageload(1)
// blockchain.rpc.getDistributionValidatorSlashes(validator).then(res => {
// // delegations.value = res
@ -487,7 +488,8 @@ function pageload(p: number) {
</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') }}
<span class="float-right"> {{ delegations.delegation_responses?.length || 0 }} / {{ delegations.pagination?.total || 0 }} </span>
</div>