Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing react router dom version and switching to absolute routing whe… #3841

Merged
merged 6 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- markdownlint-disable MD041 -->
## 0.17.0 (Unreleased)

BUG FIXES:
* Airlock: Creating an import/export request causes a routing error ([#3830](https://github.com/microsoft/AzureTRE/issues/3830))

**BREAKING CHANGES & MIGRATIONS**:

FEATURES:
Expand Down
4 changes: 2 additions & 2 deletions ui/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tre-ui",
"version": "0.5.19",
"version": "0.5.20",
"private": true,
"dependencies": {
"@azure/msal-browser": "^2.35.0",
Expand All @@ -24,7 +24,7 @@
"react-dom": "^18.2.0",
"react-markdown": "^8.0.3",
"react-redux": "^8.0.4",
"react-router-dom": "6",
"react-router-dom": "6.21.1",
"remark-gfm": "^3.0.1",
"typescript": "^5.1.6",
"web-vitals": "^3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion ui/app/src/components/shared/airlock/Airlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export const Airlock: React.FunctionComponent = () => {

const handleNewRequest = async (newRequest: AirlockRequest) => {
await getAirlockRequests();
navigate(newRequest.id);
navigate(`/workspaces/${newRequest.workspaceId}/requests/${newRequest.id}`);
};

const quickFilters: ICommandBarItemProps[] = [
Expand Down
Loading