Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed alert destination hrefs #4235

Merged
merged 2 commits into from
Oct 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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