fix: refresh dashboard stats after sync completes

This commit is contained in:
Research Assistant 2026-05-08 19:13:03 +08:00
parent 79b4930f7e
commit d941acef1c

View file

@ -1567,7 +1567,8 @@ class PaperForgeStatusView extends ItemView {
const summary = `${elapsed}s \u2014 ${lastUpdated}`;
this._showMessage('[OK] ' + a.title + ': ' + summary, 'ok');
new Notice('[OK] ' + a.okMsg);
this._fetchStats(true);
this._cachedStats = null;
this._fetchStats();
}
});
child.on('error', (err) => {