Skip to content

Commit

Permalink
fix(service overview): allow special char and digits in search (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamv-ss authored Dec 4, 2024
1 parent 95f4cc7 commit 5c5c139
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export default function ServiceListOverview() {
},
})
setPage(0)
setSearchExpr('')
}

const statusFilterViews = [
Expand Down Expand Up @@ -172,10 +173,6 @@ export default function ServiceListOverview() {

const onSearch = useCallback(
(expr: string) => {
const validateExpr = /^[ A-Za-z]*$/.test(expr)
if (!validateExpr) {
return
}
setSearchExpr(expr)
debouncedSearch(expr)
},
Expand Down

0 comments on commit 5c5c139

Please sign in to comment.