Skip to content

Commit

Permalink
fix(webapp): Fix filterWithError default value (#3018)
Browse files Browse the repository at this point in the history
## Describe your changes

filterWithError didn't like being set to a default of empty after I
removed the array handling. This fixes that default state

## Issue ticket number and link

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)
- [ ] I added tests, otherwise the reason is: 
- [ ] I added observability, otherwise the reason is:
- [ ] I added analytics, otherwise the reason is:
  • Loading branch information
nalanj authored Nov 19, 2024
1 parent b04c800 commit 360e2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webapp/src/pages/Connection/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const ConnectionList: React.FC = () => {
const [selectedIntegration, setSelectedIntegration] = useState<string[]>(defaultFilter);
const [search, setSearch] = useState<string>('');
const [debouncedSearch, setDebouncedSearch] = useState<string>('');
const [filterWithError, setFilterWithError] = useState<string>('');
const [filterWithError, setFilterWithError] = useState<string>('all');
const [readyToDisplay, setReadyToDisplay] = useState<boolean>(false);

const { data, loading, error, hasNext, offset, setOffset, mutate } = useConnections({
Expand Down

0 comments on commit 360e2bc

Please sign in to comment.