Purge no-op history events
This commit is contained in:
parent
3b88f98fd9
commit
ab5336f567
1 changed files with 2 additions and 36 deletions
|
|
@ -94,15 +94,7 @@ export class HistoryView extends ItemView {
|
|||
container.empty();
|
||||
container.createEl("h4", { text: "VaultLink History" });
|
||||
|
||||
const entries = this.client.history
|
||||
.getEntries()
|
||||
.reverse()
|
||||
.filter(
|
||||
(entry) =>
|
||||
entry.status !== SyncStatus.NO_OP ||
|
||||
this.client.settings.getSettings().displayNoopSyncEvents
|
||||
);
|
||||
|
||||
const entries = this.client.history.getEntries().reverse();
|
||||
entries.forEach((entry) => {
|
||||
container.createDiv(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue