mirror of
https://github.com/zadam/trilium.git
synced 2025-12-29 10:44:25 +01:00
chore(note_icon): hide filter if no custom icon packs
This commit is contained in:
parent
ba699f9842
commit
8053221b12
@ -127,7 +127,7 @@ function NoteIconList({ note }: { note: FNote }) {
|
||||
autoFocus
|
||||
/>
|
||||
|
||||
<Dropdown
|
||||
{glob.iconRegistry.sources.length > 0 && <Dropdown
|
||||
buttonClassName="bx bx-filter-alt"
|
||||
hideToggleArrow
|
||||
noSelectButtonStyle
|
||||
@ -135,7 +135,7 @@ function NoteIconList({ note }: { note: FNote }) {
|
||||
iconAction
|
||||
>
|
||||
<IconFilterContent filterByPrefix={filterByPrefix} setFilterByPrefix={setFilterByPrefix} />
|
||||
</Dropdown>
|
||||
</Dropdown>}
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user