Item Tree: Do not display Title in the columnpicker
This commit is contained in:
parent
af597d943b
commit
2b6c7277f7
2 changed files with 2 additions and 0 deletions
|
@ -3155,6 +3155,7 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
const columns = this._getColumns();
|
||||
for (let i = 0; i < columns.length; i++) {
|
||||
const column = columns[i];
|
||||
if (column.inMenu === false) continue;
|
||||
let menuitem = doc.createElementNS(ns, 'menuitem');
|
||||
menuitem.setAttribute('type', 'checkbox');
|
||||
menuitem.setAttribute('label', Zotero.Intl.strings[column.label]);
|
||||
|
|
|
@ -35,6 +35,7 @@ const COLUMNS = [
|
|||
label: "zotero.items.title_column",
|
||||
ignoreInColumnPicker: "true",
|
||||
flex: 4,
|
||||
inMenu: false,
|
||||
zoteroPersist: new Set(["width", "hidden", "sortDirection"])
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue