Fix "Web Page" showing in New Item menu for new databases

This commit is contained in:
Dan Stillman 2020-10-15 16:24:17 -04:00
parent e9afd153e9
commit 679a1acb90

View file

@ -372,6 +372,7 @@ Zotero.ItemTypes = new function() {
// Secondary types
_secondaryTypes = yield this._getTypesFromDB(
`WHERE display != 0 AND display NOT IN ('${_primaryTypeNames.join("', '")}')`
+ " AND name != 'webpage'"
);
// Hidden types