refactor(react/promoted_attributes): remove unnecessary action cell

This commit is contained in:
Elian Doran 2025-11-23 13:13:15 +02:00
parent cd164049b7
commit 891e71aec6
No known key found for this signature in database

View File

@ -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">