From 92d40d9287f612928e258204c4518152b46e3a47 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 2 Mar 2025 09:23:15 +0100 Subject: [PATCH] reset search when closing pane --- interface/src/app/main/Devices.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/app/main/Devices.tsx b/interface/src/app/main/Devices.tsx index 8e5a2a8ad..991f3ee3f 100644 --- a/interface/src/app/main/Devices.tsx +++ b/interface/src/app/main/Devices.tsx @@ -276,6 +276,7 @@ const Devices = () => { const resetDeviceSelect = () => { device_select.fns.onRemoveAll(); + setSearch(''); }; const escFunction = useCallback(