mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
moving from inherited attribute queries to owned one where it makes sense
This commit is contained in:
@@ -16,7 +16,7 @@ async function exportToOpml(taskContext, branch, version, res) {
|
||||
const branch = await repository.getBranch(branchId);
|
||||
const note = await branch.getNote();
|
||||
|
||||
if (!note.isStringNote() || await note.hasLabel('excludeFromExport')) {
|
||||
if (!note.isStringNote() || await note.hasOwnedLabel('excludeFromExport')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user