Skip to content

Commit

Permalink
TD-1854 Open current app link in the current tab (#826)
Browse files Browse the repository at this point in the history
* reload current app in the same page and new apps in new tab

* 7.0.3-0

* empty not self

* 7.0.3-1
  • Loading branch information
dmbarry86 authored Mar 5, 2024
1 parent 3493d44 commit 499f05b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ipguk/react-ui",
"version": "7.0.2",
"version": "7.0.3-1",
"description": "React UI component library for IPG web applications",
"author": "IPG-Automotive-UK",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/AppLauncher/AppLauncher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function AppLauncher({
key={app.name}
component="a"
href={app.url}
target="_blank"
target={window.location.href.startsWith(app.url) ? "" : "_blank"}
data-testid={app.name}
sx={theme => ({
"&:hover": {
Expand Down

0 comments on commit 499f05b

Please sign in to comment.