Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
Fix broken urls to sparql editor (#659)
Browse files Browse the repository at this point in the history
- Fix elastic search view routing
 - Fix url to sparql editor from studio
  • Loading branch information
Dhanesh Neela Mana authored Aug 10, 2020
1 parent 9f5a054 commit 6d04b7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/subapps/admin/views/ElasticSearchQueryView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const ElasticSearchQueryView: React.FunctionComponent = (): JSX.Element => {
return (
<Menu.Item key={index}>
<Link
to={`${namespace}/${orgLabel}/${projectLabel}/${encodeURIComponent(
to={`/${namespace}/${orgLabel}/${projectLabel}/${encodeURIComponent(
view['@id']
)}/${pathAppendage}`}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const CreateDashboardContainer: React.FunctionComponent<{
linkToSparqlQueryEditor={(dataQuery: string) => {
return (
<Link
to={`/${orgLabel}/${projectLabel}/${viewId}/sparql?query=${encodeURIComponent(
to={`/admin/${orgLabel}/${projectLabel}/${viewId}/sparql?query=${encodeURIComponent(
dataQuery
)}`}
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const DashboardEditorContainer: React.FunctionComponent<{
linkToSparqlQueryEditor={(dataQuery: string) => {
return (
<Link
to={`/${orgLabel}/${projectLabel}/${viewId}/sparql?query=${encodeURIComponent(
to={`/admin/${orgLabel}/${projectLabel}/${viewId}/sparql?query=${encodeURIComponent(
dataQuery
)}`}
target="_blank"
Expand Down

0 comments on commit 6d04b7b

Please sign in to comment.