From dd9df474413f068b7579288f155a9dc51d9baf0e Mon Sep 17 00:00:00 2001 From: Case Delst Date: Fri, 13 Sep 2024 15:55:04 -0700 Subject: [PATCH] fix: LaunchDevly: Search clear not clearing filter (#424) * Fix search clear not clearing filter * Remove logs --- internal/dev_server/ui/src/EnvironmentSelector.tsx | 3 ++- internal/dev_server/ui/src/Flags.tsx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/dev_server/ui/src/EnvironmentSelector.tsx b/internal/dev_server/ui/src/EnvironmentSelector.tsx index 15c3b70d..f0959c4c 100644 --- a/internal/dev_server/ui/src/EnvironmentSelector.tsx +++ b/internal/dev_server/ui/src/EnvironmentSelector.tsx @@ -77,8 +77,9 @@ export function EnvironmentSelector({ setSearchQuery(e.target.value)} + onChange={(e) => setSearchQuery(e.target.value || '')} placeholder="Search environments..." + aria-label="Search environments" /> - + setSearchTerm('')} />