Skip to content

Commit

Permalink
ESLint: 'checkURLParams' was used before it was defined.(no-use-befor…
Browse files Browse the repository at this point in the history
…e-define) (#295)

Signed-off-by: Danila Gulderov <[email protected]>
  • Loading branch information
gulderov committed Mar 5, 2024
1 parent 261fd17 commit 6341756
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/components/context_menu/context_menu_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ export const popoverMenuDiscover = (savedObjectAvailable) => {
<${button} class="${buttonClass}" type="button" data-test-subj="downloadPanel-GeneratePDF" id="generateXLSX">
<span data-html2canvas-ignore class="euiContextMenu__itemLayout">
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="euiIcon euiIcon--medium euiIcon-isLoaded euiContextMenu__icon" focusable="false" role="img" aria-hidden="true"><path d="M9 9.114l1.85-1.943a.52.52 0 01.77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 01-2.31 0L5.41 8a.617.617 0 010-.829.52.52 0 01.77 0L8 9.082V.556C8 .249 8.224 0 8.5 0s.5.249.5.556v8.558z"></path><path d="M16 13.006V10h-1v3.006a.995.995 0 01-.994.994H3.01a.995.995 0 01-.994-.994V10h-1v3.006c0 1.1.892 1.994 1.994 1.994h10.996c1.1 0 1.994-.893 1.994-1.994z"></path></svg>
<span data-html2canvas-ignore class="euiContextMenuItem__text">${i18n.translate('opensearch.reports.menu.csv.generateXLSX', { defaultMessage: 'Generate XLSX' })}</span>
<span data-html2canvas-ignore class="euiContextMenuItem__text">${i18n.translate(
'opensearch.reports.menu.csv.generateXLSX',
{ defaultMessage: 'Generate XLSX' }
)}</span>
</span>
</button>
</div>
Expand Down

0 comments on commit 6341756

Please sign in to comment.