Skip to content

Commit

Permalink
Merge pull request #213 from wri/fix/dynamic-routes
Browse files Browse the repository at this point in the history
Fix/dynamic routes
  • Loading branch information
tsubik authored Jul 24, 2024
2 parents e33a0e0 + c2d2e3f commit d2d4e28
Show file tree
Hide file tree
Showing 22 changed files with 429 additions and 589 deletions.
9 changes: 3 additions & 6 deletions components/operators-detail/overview/gallery-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ function Gallery({
label: intl.formatMessage({
id: 'operator-detail.overview.card1.link.label',
}),
href: `/operators/detail?tab=documentation&id=${url.query.id}`,
as: `/operators/${url.query.id}/documentation`,
href: `/operators/${url.query.id}/documentation`
}}
/>
</div>
Expand All @@ -106,8 +105,7 @@ function Gallery({
label: intl.formatMessage({
id: 'operator-detail.overview.card2.link.label',
}),
href: `/operators/detail?tab=observations&id=${url.query.id}`,
as: `/operators/${url.query.id}/observations`,
href: `/operators/${url.query.id}/observations`,
}}
/>
</div>
Expand All @@ -128,8 +126,7 @@ function Gallery({
label: intl.formatMessage({
id: 'operator-detail.overview.card3.link.label',
}),
href: `/operators/detail?tab=fmus&id=${url.query.id}`,
as: `/operators/${url.query.id}/fmus`,
href: `/operators/${url.query.id}/fmus`,
}}
/>
</div>
Expand Down
Loading

0 comments on commit d2d4e28

Please sign in to comment.