Skip to content

Commit

Permalink
EPMRPP-97553 || Back link to Report Portal link is broken (#4163)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO authored Jan 16, 2025
1 parent 10254f1 commit 7b23411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/controllers/testItem/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ export const testCaseNameLinkSelector = (state) => (ownProps) => {

const btsBackLinkBaseSelector = createSelector(payloadSelector, (payload) => {
const { origin, pathname: pathPrefix } = window.location;
const { projectId, filterId } = payload;
const { organizationSlug, projectSlug, filterId } = payload;

return `${origin}${pathPrefix}#${projectId}/launches/${filterId}`;
return `${origin}${pathPrefix}#organizations/${organizationSlug}/projects/${projectSlug}/launches/${filterId}`;
});

export const btsIntegrationBackLinkSelector = (state, { path = '', launchId } = {}) => {
Expand Down

0 comments on commit 7b23411

Please sign in to comment.