change condition
This commit is contained in:
parent
ad1055d191
commit
7662350921
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user