mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
chore(next): improve performance of a specific selector
This commit is contained in:
@@ -188,6 +188,7 @@ export default class PromotedAttributesWidget extends NoteContextAwareWidget {
|
||||
.append($multiplicityCell);
|
||||
|
||||
if (valueAttr.type === "label") {
|
||||
$wrapper.addClass(`promoted-attribute-label-${definition.labelType}`);
|
||||
if (definition.labelType === "text") {
|
||||
$input.prop("type", "text");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user