mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
fix exclude from export
This commit is contained in:
@@ -38,7 +38,7 @@ async function exportNote(noteTreeId, directory, pack, repo) {
|
|||||||
|
|
||||||
const metadata = await getMetadata(note);
|
const metadata = await getMetadata(note);
|
||||||
|
|
||||||
if ('exclude_from_export' in metadata.attributes) {
|
if (metadata.attributes.find(attr => attr.name === 'exclude_from_export')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user