Skip to content

Commit

Permalink
Pass fnewonly
Browse files Browse the repository at this point in the history
  • Loading branch information
Duddino committed Jul 25, 2023
1 parent f7736a2 commit fdc2750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/Activity.vue
Expand Up @@ -30,7 +30,7 @@ async function update(fNewOnly = false) {
const nPrevHistory = cNet.arrTxHistory.length;
updating.value = true;
const arrTXs = await cNet.syncTxHistoryChunk();
const arrTXs = await cNet.syncTxHistoryChunk(fNewOnly);
updating.value = false;
// If there's no change in history size post-sync, then we can cancel here, there's nothing new to render
Expand Down
4 changes: 2 additions & 2 deletions scripts/global.js
Expand Up @@ -676,9 +676,9 @@ export async function openSendQRScanner() {
*/
export async function updateActivityGUI(fStaking = false, fNewOnly = false) {
if (fStaking) {
stakeActivity.update();
stakeActivity.update(fNewOnly);
} else {
activityDashboard.update();
activityDashboard.update(fNewOnly);
}
}

Expand Down

0 comments on commit fdc2750

Please sign in to comment.