Skip to content

Commit

Permalink
front: try to fix redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackmorse committed Jun 5, 2024
1 parent 6be6095 commit 7411ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/common/links/HattidLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ abstract class HattidLink<Props extends LinkProps> extends React.Component<Props
//TODO
let cback: () => void = () => {}
if(this.props.forceRefresh !== undefined && this.props.forceRefresh) {
cback = () => {setTimeout( () => {window.location.reload()}, 100)}
cback = () => {setTimeout( () => {window.location.replace(this.baseString() + '?' + queryParams) }, 100)}
}

return <>
Expand Down

0 comments on commit 7411ef9

Please sign in to comment.