Skip to content

Commit

Permalink
Fixed alert destination hrefs (#4235)
Browse files Browse the repository at this point in the history
* Fixed alert destination hrefs

* Added query url
  • Loading branch information
ranbena authored and arikfr committed Oct 11, 2019
1 parent da2ed56 commit 39f038f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/app/pages/alert/AlertView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class AlertView extends React.Component {
<div className="col-md-4">
<h4>Destinations{' '}
<Tooltip title="Open Alert Destinations page in a new tab.">
<a href="/destinations" target="_blank">
<a href="destinations" target="_blank">
<i className="fa fa-external-link f-13" />
</a>
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/alert/components/AlertDestinations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default class AlertDestinations extends React.Component {
<i className="fa fa-info-circle" />{' '}
Create new destinations in{' '}
<Tooltip title="Opens page in a new tab.">
<a href="/destinations/new" target="_blank">Alert Destinations</a>
<a href="destinations/new" target="_blank">Alert Destinations</a>
</Tooltip>
</>
),
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/alert/components/Query.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function QueryFormItem({ query, queryResult, onChange, editMode }
/>
) : (
<Tooltip title="Open query in a new tab.">
<a href={`/queries/${query.id}`} target="_blank" rel="noopener noreferrer" className="alert-query-link">
<a href={`queries/${query.id}`} target="_blank" rel="noopener noreferrer" className="alert-query-link">
{query.name}<i className="fa fa-external-link" />
</a>
</Tooltip>
Expand Down

0 comments on commit 39f038f

Please sign in to comment.