client: recent changes list: make possible to use a distinct style for items referencing deleted notes

This commit is contained in:
Adorian Doran
2024-12-13 02:59:04 +02:00
parent 5caf4c2461
commit 5d4dd8bc0a
2 changed files with 4 additions and 1 deletions

View File

@@ -127,6 +127,9 @@ export default class RecentChangesDialog extends BasicWidget {
appContext.tabManager.getActiveContext().setNote(change.noteId);
}
})
.addClass(() => {
if (change.current_isDeleted) return "deleted-note";
})
.append(
$("<span>")
.text(formattedTime)