mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Fix missing action buttons in RTF Scan's Verify Cited Items table
Some checks failed
CI / Detect changes (push) Has been cancelled
CI / Utilities Tests (push) Has been cancelled
CI / Build, Upload (push) Has been cancelled
CI / Test () (push) Has been cancelled
CI / Test (macOS NFS) (push) Has been cancelled
CI / Test (Windows arm64) (push) Has been cancelled
CI / Test (Windows x64) (push) Has been cancelled
Some checks failed
CI / Detect changes (push) Has been cancelled
CI / Utilities Tests (push) Has been cancelled
CI / Build, Upload (push) Has been cancelled
CI / Test () (push) Has been cancelled
CI / Test (macOS NFS) (push) Has been cancelled
CI / Test (Windows arm64) (push) Has been cancelled
CI / Test (Windows x64) (push) Has been cancelled
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/
This commit is contained in:
parent
d7751b93d8
commit
0d0bbc8925
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