mirror of
https://github.com/zadam/trilium.git
synced 2025-12-31 19:54:25 +01:00
feat(note_icon): allow filtering default icons
This commit is contained in:
parent
db4af96040
commit
c26357be40
@ -767,7 +767,8 @@
|
||||
"change_note_icon": "Change note icon",
|
||||
"search": "Search:",
|
||||
"reset-default": "Reset to default icon",
|
||||
"filter-none": "All icons"
|
||||
"filter-none": "All icons",
|
||||
"filter-default": "Default icons"
|
||||
},
|
||||
"basic_properties": {
|
||||
"note_type": "Note type",
|
||||
|
||||
@ -138,6 +138,10 @@ function NoteIconList({ note }: { note: FNote }) {
|
||||
checked={filterByPrefix === null}
|
||||
onClick={() => setFilterByIconPack(null)}
|
||||
>{t("note_icon.filter-none")}</FormListItem>
|
||||
<FormListItem
|
||||
checked={filterByPrefix === "bx"}
|
||||
onClick={() => setFilterByIconPack("bx")}
|
||||
>{t("note_icon.filter-default")}</FormListItem>
|
||||
<FormDropdownDivider />
|
||||
|
||||
{glob.iconRegistry.sources.map(({ prefix, name }) => (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user