mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
🚑 Hotfix icon matching
This commit is contained in:
@@ -138,7 +138,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
|
|
||||||
const [debounced, cancel] = useDebouncedValue(form.values.name, 250);
|
const [debounced, cancel] = useDebouncedValue(form.values.name, 250);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (form.values.name !== debounced) return;
|
if (form.values.name !== debounced || props.name || props.type) return;
|
||||||
MatchIcon(form.values.name, form);
|
MatchIcon(form.values.name, form);
|
||||||
MatchService(form.values.name, form);
|
MatchService(form.values.name, form);
|
||||||
MatchPort(form.values.name, form);
|
MatchPort(form.values.name, form);
|
||||||
|
|||||||
Reference in New Issue
Block a user