mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 06:59:04 +01:00
chore(react/collections/table): fix type error
This commit is contained in:
parent
3789edf53a
commit
cb959e93f2
@ -95,10 +95,6 @@ export function buildColumnDefinitions({ info, movableRows, existingColumnData,
|
|||||||
editor: "input",
|
editor: "input",
|
||||||
formatter: wrapFormatter(({ cell }) => {
|
formatter: wrapFormatter(({ cell }) => {
|
||||||
const { noteId, iconClass, colorClass } = cell.getRow().getData();
|
const { noteId, iconClass, colorClass } = cell.getRow().getData();
|
||||||
if (!noteId) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
return <span className={`reference-link ${colorClass}`} data-href={`#root/${noteId}`}>
|
return <span className={`reference-link ${colorClass}`} data-href={`#root/${noteId}`}>
|
||||||
<Icon icon={iconClass} />{" "}{cell.getValue()}
|
<Icon icon={iconClass} />{" "}{cell.getValue()}
|
||||||
</span>;
|
</span>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user