mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
feat(react/ribbon): improve editability select
This commit is contained in:
@@ -150,6 +150,7 @@ function EditabilitySelect({ note }: { note?: FNote | null }) {
|
||||
<span>{t("basic_properties.editable")}:</span>
|
||||
|
||||
<FormDropdownList
|
||||
className="editability-dropdown"
|
||||
values={options}
|
||||
currentValue={ readOnly ? "readOnly" : autoReadOnlyDisabled ? "autoReadOnlyDisabled" : "auto" }
|
||||
keyProperty="value" titleProperty="label" descriptionProperty="description"
|
||||
|
||||
Reference in New Issue
Block a user