mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +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);
|
||||
|
||||
if ('exclude_from_export' in metadata.attributes) {
|
||||
if (metadata.attributes.find(attr => attr.name === 'exclude_from_export')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user