mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
isErased fixes
This commit is contained in:
@@ -446,11 +446,8 @@ export default class AttributeEditorWidget extends TabAwareWidget {
|
||||
if (!note) {
|
||||
title = '[missing]';
|
||||
}
|
||||
else if (!note.isDeleted) {
|
||||
title = note.title;
|
||||
}
|
||||
else {
|
||||
title = note.isErased ? '[erased]' : `${note.title} (deleted)`;
|
||||
title = note.isDeleted ? `${note.title} (deleted)` : note.title;
|
||||
}
|
||||
|
||||
$el.text(title);
|
||||
|
||||
Reference in New Issue
Block a user