mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-26 06:51:31 +08:00
client: recent changes list: make possible to use a distinct style for the title of deleted notes
This commit is contained in:
parent
b41dab090f
commit
0b266393b5
@ -81,7 +81,12 @@ export default class RecentChangesDialog extends BasicWidget {
|
|||||||
let $noteLink;
|
let $noteLink;
|
||||||
|
|
||||||
if (change.current_isDeleted) {
|
if (change.current_isDeleted) {
|
||||||
$noteLink = $("<span>").text(change.current_title);
|
$noteLink = $("<span>");
|
||||||
|
|
||||||
|
$noteLink.append($("<span>")
|
||||||
|
.addClass("note-title")
|
||||||
|
.text(change.current_title)
|
||||||
|
);
|
||||||
|
|
||||||
if (change.canBeUndeleted) {
|
if (change.canBeUndeleted) {
|
||||||
const $undeleteLink = $(`<a href="javascript:">`)
|
const $undeleteLink = $(`<a href="javascript:">`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user