Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions webapp/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2981,10 +2981,11 @@ export class ProjectView
if (hc) params.set("hc", "1");
else params.delete("hc");
}
// Need to add the URL parameters to the URL for the reload.
// Assigning to search will navigate on the first call but reload() needed
// for subsequent calls if there's a fragment (e.g. #editor).
location.search = params.toString();
// .reload refreshes without hitting server so it loses the params,
// so have to navigate directly
location.assign(location.toString());
location.reload();
} else {
location.reload();
}
Expand Down
Loading