🚑 Hotfix icon matching

This commit is contained in:
ajnart
2022-06-07 01:04:34 +02:00
parent ed567065b4
commit 7935fb6616

View File

@@ -138,7 +138,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
const [debounced, cancel] = useDebouncedValue(form.values.name, 250);
useEffect(() => {
if (form.values.name !== debounced) return;
if (form.values.name !== debounced || props.name || props.type) return;
MatchIcon(form.values.name, form);
MatchService(form.values.name, form);
MatchPort(form.values.name, form);