This is an automated email from the ASF dual-hosted git repository.

pkdotson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new d30f3c8  fix space (#15175)
d30f3c8 is described below

commit d30f3c8149640f506a2264fc0b6926e9a78f1a6b
Author: Phillip Kelley-Dotson <[email protected]>
AuthorDate: Tue Jun 15 16:16:59 2021 -0700

    fix space (#15175)
---
 superset-frontend/src/components/ListView/Filters/Search.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/components/ListView/Filters/Search.tsx 
b/superset-frontend/src/components/ListView/Filters/Search.tsx
index 329cf79..23a8e69 100644
--- a/superset-frontend/src/components/ListView/Filters/Search.tsx
+++ b/superset-frontend/src/components/ListView/Filters/Search.tsx
@@ -35,7 +35,7 @@ export default function SearchFilter({
   const [value, setValue] = useState(initialValue || '');
   const handleSubmit = () => {
     if (value) {
-      onSubmit(value);
+      onSubmit(value.trim());
     }
   };
   const onClear = () => {

Reply via email to