Skip to content

Commit

Permalink
fix(openshiftView,rhelView): issues/414 inventory link prefix (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Oct 26, 2020
1 parent d2f2bfb commit fc491bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/openshiftView/openshiftView.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ OpenshiftView.defaultProps = {
component="a"
variant="link"
target="_blank"
href={`/insights/inventory/${inventoryId.value}/`}
href={`${helpers.UI_DEPLOY_PATH_PREFIX}/insights/inventory/${inventoryId.value}/`}
>
{displayName.value || inventoryId.value}
</Button>
Expand Down Expand Up @@ -310,7 +310,7 @@ OpenshiftView.defaultProps = {
component="a"
variant="link"
target="_blank"
href={`/insights/inventory/${inventoryId.value}/`}
href={`${helpers.UI_DEPLOY_PATH_PREFIX}/insights/inventory/${inventoryId.value}/`}
>
{displayName.value || inventoryId.value}
</Button>
Expand Down
4 changes: 2 additions & 2 deletions src/components/rhelView/rhelView.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ RhelView.defaultProps = {
component="a"
variant="link"
target="_blank"
href={`/insights/inventory/${inventoryId.value}/`}
href={`${helpers.UI_DEPLOY_PATH_PREFIX}/insights/inventory/${inventoryId.value}/`}
>
{displayName.value || inventoryId.value}
</Button>
Expand Down Expand Up @@ -232,7 +232,7 @@ RhelView.defaultProps = {
component="a"
variant="link"
target="_blank"
href={`/insights/inventory/${inventoryId.value}/`}
href={`${helpers.UI_DEPLOY_PATH_PREFIX}/insights/inventory/${inventoryId.value}/`}
>
{displayName.value || inventoryId.value}
</Button>
Expand Down

0 comments on commit fc491bc

Please sign in to comment.