Don't show HTML and Markdown options for collection export

Fixes #3033
This commit is contained in:
Martynas Bagdonas 2023-04-05 09:08:45 +02:00
parent 4af158bf56
commit fcf3cec0fc

View file

@ -93,10 +93,11 @@ Zotero_File_Exporter.prototype.save = async function () {
}
}
}
// Otherwise exclude note export translators
else {
translators = translators.filter(t => !t.configOptions || !t.configOptions.noteTranslator);
}
}
// Exclude note translators if not exporting notes
if (!exportingNotes) {
translators = translators.filter(t => !t.configOptions || !t.configOptions.noteTranslator);
}
// present options dialog