Skip to content

Commit

Permalink
[Legacy Maps Plugin] Prevent reverse-tabnabbing (#2540) (#2781)
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>

Signed-off-by: Miki <[email protected]>
(cherry picked from commit 19a2e4a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Miki <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent bfe6b6b commit 50f29c7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/plugins/maps_legacy/public/map/map_messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import React, { Fragment } from 'react';
import ReactDOM from 'react-dom';
import { FormattedMessage } from '@osd/i18n/react';
import { EuiSpacer, EuiButtonEmpty, EuiEmptyPrompt } from '@elastic/eui';
import { EuiSpacer, EuiButtonEmpty, EuiEmptyPrompt, EuiLink } from '@elastic/eui';
import { toMountPoint } from '../../../opensearch_dashboards_react/public';

export const createRegionDeniedWarning = (function () {
Expand Down Expand Up @@ -112,9 +112,12 @@ export const createZoomWarningMsg = (function () {
Please go to { wms } for more information."
values={{
wms: (
<a target="_blank" href="https://opensearch.org/docs/latest/dashboards/maptiles/">
<EuiLink
target="_blank"
href="https://opensearch.org/docs/latest/dashboards/maptiles/"
>
{`Custom WMS Configuration`}
</a>
</EuiLink>
),
}}
/>
Expand Down

0 comments on commit 50f29c7

Please sign in to comment.