mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
chore(promoted_attributes): address review
This commit is contained in:
parent
320f064775
commit
7f909fa098
@ -15,12 +15,13 @@ body.mobile .promoted-attributes-widget {
|
||||
flex-wrap: wrap;
|
||||
display: table;
|
||||
}
|
||||
|
||||
.promoted-attribute-cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 10px;
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
.promoted-attribute-cell > label {
|
||||
user-select: none;
|
||||
font-weight: bold;
|
||||
|
||||
@ -180,7 +180,7 @@ function LabelInput({ inputId, ...props }: CellProps & { inputId: string }) {
|
||||
setupTextLabelAutocomplete(el as HTMLInputElement, valueAttr, onChangeListener);
|
||||
}
|
||||
}
|
||||
}, []);
|
||||
}, [ inputId, valueAttr, onChangeListener ]);
|
||||
|
||||
switch (definition.labelType) {
|
||||
case "number": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user