Skip to content

Commit

Permalink
fixing react router dom version and switching to absolute routing whe… (
Browse files Browse the repository at this point in the history
  • Loading branch information
yahya130 committed Feb 12, 2024
1 parent 3835e5a commit e8da262
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ BUG FIXES:
* Fix issue with workspace menu not working correctly([#3819](https://github.com/microsoft/AzureTRE/issues/3819))
* Fix issue with connect button showing when no uri([#3820](https://github.com/microsoft/AzureTRE/issues/3820))
* Fix user resource upgrade validation: use the parent_service_template_name instead of the parent_resource_id. ([#3824](https://github.com/microsoft/AzureTRE/issues/3824))
* Airlock: Creating an import/export request causes a routing error ([#3830](https://github.com/microsoft/AzureTRE/issues/3830))

COMPONENTS:

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

0 comments on commit e8da262

Please sign in to comment.