mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Fix missing action buttons in RTF Scan's Verify Cited Items table
Some checks are pending
Some checks are pending
The action column's width was given as "32px", which VirtualizedTable
now turns into an invalid CSS width, collapsing the column and hiding
the buttons needed to resolve unmapped and ambiguous citations. Also
restore the accept-match icon on ambiguous-citation candidates.
https://forums.zotero.org/discussion/133740/
(cherry picked from commit 0d0bbc8925)
This commit is contained in:
parent
3b1b550cdd
commit
c65dcb1cdf
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ Services.scriptloader.loadSubScript('chrome://zotero/content/elements/styleConfi
|
|||
const columns = [
|
||||
{ dataKey: 'rtf', label: "zotero.rtfScan.citation.label", primary: true, flex: 4 },
|
||||
{ dataKey: 'item', label: "zotero.rtfScan.itemName.label", flex: 5 },
|
||||
{ dataKey: 'action', label: "", fixedWidth: true, width: "32px" },
|
||||
{ dataKey: 'action', label: "", fixedWidth: true, width: 32 },
|
||||
];
|
||||
|
||||
const initialRows = [
|
||||
|
|
@ -339,7 +339,7 @@ const Zotero_RTFScan = { // eslint-disable-line no-unused-vars, camelcase
|
|||
row = { ...row, parent: ambiguousRow };
|
||||
this.insertRows(row, this.rowMap.mapped);
|
||||
this.insertRows(
|
||||
items.map(item => ({ rtf: '', item: item.getField('title'), parent: row })),
|
||||
items.map(item => ({ rtf: '', item: item.getField('title'), action: true, parent: row })),
|
||||
this.rowMap[row.id] + 1
|
||||
);
|
||||
this.citationItemIDs[row.rtf] = items.map(item => item.id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue