Mendeley import: Don't show local import option

It's still possible to trigger a local import from a 1.18 database by
selecting the .sqlite file directly from the file option, but don't
offer it in the dialog.
This commit is contained in:
Dan Stillman 2021-05-12 03:33:09 -04:00
parent 7e23cfef96
commit 53f53779a3

View file

@ -13,7 +13,8 @@ var Zotero_Import_Wizard = {
this._wizard = document.getElementById('import-wizard');
var dbs = await Zotero_File_Interface.findMendeleyDatabases();
if (dbs.length) {
document.getElementById('radio-import-source-mendeley').hidden = false;
// Local import disabled
//document.getElementById('radio-import-source-mendeley').hidden = false;
}
// If no existing collections or non-trash items in the library, don't create a new