Skip to content

Build your personal knowledge base with Trilium Notes

refactor(react/promoted_attributes): remove unnecessary action cell

Elian Doran891e71aec6c5
diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsx
index ff555ca842..73d5f0b814 100644
--- a/apps/client/src/widgets/PromotedAttributes.tsx
+++ b/apps/client/src/widgets/PromotedAttributes.tsx
@@ -134,7 +134,6 @@ function PromotedAttributeCell(props: CellProps) {
<div className={clsx("promoted-attribute-cell", className)}>
{definition.labelType !== "boolean" && <label for={inputId}>{definition.promotedAlias ?? valueName}</label>}
{correspondingInput}
- <ActionCell />
<MultiplicityCell {...props} />
</div>
)
@@ -279,14 +278,6 @@ function RelationInput({ inputId, ...props }: CellProps & { inputId: string }) {
)
}
-function ActionCell() {
- return (
- <div>
-
- </div>
- )
-}
-
function MultiplicityCell({ cell, cells, setCells, setCellToFocus, note, componentId }: CellProps) {
return (cell.definition.multiplicity === "multi" &&
<td className="multiplicity">