Skip to content

Commit

Permalink
pass remaining state when updating url
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
  • Loading branch information
amsiglan committed Sep 9, 2024
1 parent c725ac4 commit c30da20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/pages/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ export default class Main extends Component<MainProps, MainState> {
const searchParams = new URLSearchParams(this.props.location.search);
searchParams.set('dataSourceId', this.state.selectedDataSource.id);
this.props.history.replace({
...this.props.location,
search: searchParams.toString(),
});
}
Expand Down

0 comments on commit c30da20

Please sign in to comment.