mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
fix exclude from export
This commit is contained in:
parent
895bda41b5
commit
755c0f3ce2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user