mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
small fixes
This commit is contained in:
@@ -49,7 +49,7 @@ function updateNoteAttribute(req) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (body.type === 'relation' && !body.value.trim()) {
|
||||
if (body.type === 'relation' && !body.value?.trim()) {
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ function updateNoteAttribute(req) {
|
||||
attribute.markAsDeleted();
|
||||
}
|
||||
|
||||
console.log(attribute);
|
||||
|
||||
attribute.save();
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user