[ES|QL] Removes the warnings from the console (#202899)

This commit is contained in:
Stratoula Kalafateli 2024-12-04 19:37:05 +01:00 committed by GitHub
parent 13fa5259c8
commit c2f706d250
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -297,7 +297,13 @@ export const EditorFooter = memo(function EditorFooter({
/>
)}
<EuiFlexItem grow={false}>
<EuiButtonIcon iconType="documentation" onClick={toggleLanguageComponent} />
<EuiButtonIcon
iconType="documentation"
onClick={toggleLanguageComponent}
aria-label={i18n.translate('esqlEditor.query.documentationAriaLabel', {
defaultMessage: 'Open documentation',
})}
/>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>