mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 18:44:26 +01:00
refactor(react/promoted_attributes): remove unnecessary action cell
This commit is contained in:
parent
cd164049b7
commit
891e71aec6
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user