From 766235092166ca00a97f5438d5acf25d07c9a531 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Thu, 28 Dec 2023 14:23:00 +0800 Subject: [PATCH] change condition --- src/modules/[chain]/uptime/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/[chain]/uptime/index.vue b/src/modules/[chain]/uptime/index.vue index 08af446b..48800507 100644 --- a/src/modules/[chain]/uptime/index.vue +++ b/src/modules/[chain]/uptime/index.vue @@ -125,7 +125,7 @@ function updateTotalSigningInfo() { const commits2 = computed(() => { const la = baseStore.recents.map((b) => b.block.last_commit); // trigger update total signing info - if(la.length > 0 && Number(la.at(0)?.height|| 0) % 10 === 7) { + if(la.length > 1 && Number(la.at(la.length-1)?.height|| 0) % 10 === 7) { updateTotalSigningInfo(); }; const all = [...commits.value, ...la];