mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🐛 Fix clear icon in apperance tab
This commit is contained in:
@@ -84,7 +84,7 @@ export const IconSelector = forwardRef(
|
|||||||
icon={<DebouncedImage src={value ?? currentValue} width={20} height={20} />}
|
icon={<DebouncedImage src={value ?? currentValue} width={20} height={20} />}
|
||||||
rightSection={
|
rightSection={
|
||||||
(value ?? currentValue).length > 0 ? (
|
(value ?? currentValue).length > 0 ? (
|
||||||
<CloseButton onClick={() => onChange(undefined)} />
|
<CloseButton onClick={() => onChange("")} />
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
itemComponent={AutoCompleteItem}
|
itemComponent={AutoCompleteItem}
|
||||||
|
|||||||
Reference in New Issue
Block a user