fix exclude from export

This commit is contained in:
azivner 2018-03-09 00:10:02 -05:00
parent 895bda41b5
commit 755c0f3ce2

View File

@ -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;
}