chore(note_icon): hide filter if no custom icon packs

This commit is contained in:
Elian Doran 2025-12-26 21:01:48 +02:00
parent ba699f9842
commit 8053221b12
No known key found for this signature in database

View File

@ -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