Skip to content

Commit

Permalink
remove view reports link from toast (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongnansu committed May 6, 2021
1 parent 90ed14b commit 7918b18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const reportGenerationSuccess = () => {
return `
<div class="euiToast euiToast--success" id="reportSuccessToast">
<p class="euiScreenReaderOnly">A new notification appears</p>
<div class="euiToastHeader euiToastHeader--withBody"
<div class="euiToastHeader"
aria-label="Notification" data-test-subj="euiToastHeader">
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"
class="euiIcon euiIcon--medium euiToastHeader__icon" focusable="false"
Expand All @@ -253,7 +253,7 @@ export const reportGenerationSuccess = () => {
<path d="M7.293 8L3.146 3.854a.5.5 0 11.708-.708L8 7.293l4.146-4.147a.5.5 0 01.708.708L8.707 8l4.147 4.146a.5.5 0 01-.708.708L8 8.707l-4.146 4.147a.5.5 0 01-.708-.708L7.293 8z"></path>
</svg>
</button>
<div class="euiText euiText--small euiToastBody">
<div class="euiText euiText--small euiToastBody" hidden>
<p>View
<a class="euiLink euiLink--primary"
href="reports-dashboards#/" rel="noreferrer">Reports</a>.</p>
Expand Down

0 comments on commit 7918b18

Please sign in to comment.