Skip to content

Commit

Permalink
[Breadcrumbs] The projects pages dropdown doesn`t open up after model…
Browse files Browse the repository at this point in the history
…/dataset tag editing
  • Loading branch information
mavdryk committed Dec 19, 2023
1 parent 5ab50a7 commit 7894b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Datasets/Datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const Datasets = () => {

if (changes.data.tag.currentFieldValue) {
navigate(
`/projects/${params.projectName}/${DATASETS_PAGE}/${params.name}/${changes.data.tag.currentFieldValue}/overview`,
`/projects/${params.projectName}/${DATASETS_PAGE.toLowerCase()}/${params.name}/${changes.data.tag.currentFieldValue}/overview`,
{ replace: true }
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModelsPage/Models/Models.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const Models = ({ fetchModelFeatureVector }) => {

if (changes.data.tag.currentFieldValue) {
navigate(
`/projects/${params.projectName}/${MODELS_PAGE}/${MODELS_TAB}/${params.name}/${changes.data.tag.currentFieldValue}/overview`,
`/projects/${params.projectName}/${MODELS_PAGE.toLowerCase()}/${MODELS_TAB}/${params.name}/${changes.data.tag.currentFieldValue}/overview`,
{ replace: true }
)
}
Expand Down

0 comments on commit 7894b76

Please sign in to comment.