Restore tick and cross icons for citation link status

This commit is contained in:
Adomas Venčkauskas 2025-06-12 14:48:12 +03:00
parent bcfaadde4d
commit 376e69545b

View file

@ -53,11 +53,12 @@ const citationColumns = [
staticWidth: true,
fixedWidth: true,
renderCell: (index, data, column) => {
let icon = getCSSIcon('IconCross');
let icon = getCSSIcon('cross');
if (data) {
icon = getCSSIcon('IconTick');
icon = getCSSIcon('tick');
}
icon.className += ` cell ${column.className}`;
icon.className += ` cell icon-16 ${column.className}`;
return icon;
}
},
@ -77,11 +78,11 @@ itemColumns.push({
staticWidth: true,
fixedWidth: true,
renderCell: (index, data, column) => {
let icon = getCSSIcon('IconCross');
let icon = getCSSIcon('cross');
if (data) {
icon = getCSSIcon('IconTick');
icon = getCSSIcon('tick');
}
icon.className += ` cell ${column.className}`;
icon.className += ` cell icon-16 ${column.className}`;
return icon;
}
});