Skip to content

Commit

Permalink
fix navigating to invalid page issue[trailheadapps#584]
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhancvdr committed Sep 2, 2023
1 parent b5fc729 commit 2ceffe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/lwc/heroDetails/heroDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class HeroDetails extends LightningElement {
if (data[1] === 'Product__c') {
this.hrefUrl = `product/${data[0]}`;
} else {
this.hrefUrl = `product-family/${data[0]}`;
this.hrefUrl = `detail/${data[0]}`;
}
}
}
Expand Down

0 comments on commit 2ceffe2

Please sign in to comment.