Skip to content

Commit

Permalink
[Lens] remove test warnings about improper HTML structure (#79251)
Browse files Browse the repository at this point in the history
* [Lens] remove test warnings about improper HTML structure
  • Loading branch information
mbondyra authored Oct 2, 2020
1 parent f398b49 commit fccfad2
Showing 1 changed file with 13 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,27 +208,22 @@ export function InnerWorkspacePanel({
>
<h2>
<strong>
{expression === null ? (
<FormattedMessage
id="xpack.lens.editorFrame.emptyWorkspace"
defaultMessage="Drop some fields here to start"
/>
) : (
<FormattedMessage
id="xpack.lens.editorFrame.emptyWorkspaceSimple"
defaultMessage="Drop field here"
/>
)}
{expression === null
? i18n.translate('xpack.lens.editorFrame.emptyWorkspace', {
defaultMessage: 'Drop some fields here to start',
})
: i18n.translate('xpack.lens.editorFrame.emptyWorkspaceSimple', {
defaultMessage: 'Drop field here',
})}
</strong>
</h2>
<DropIllustration aria-hidden={true} className="lnsWorkspacePanel__dropIllustration" />
{expression === null && (
<>
<p>
<FormattedMessage
id="xpack.lens.editorFrame.emptyWorkspaceHeading"
defaultMessage="Lens is a new tool for creating visualizations"
/>
{i18n.translate('xpack.lens.editorFrame.emptyWorkspaceHeading', {
defaultMessage: 'Lens is a new tool for creating visualization',
})}
</p>
<p>
<small>
Expand All @@ -237,10 +232,9 @@ export function InnerWorkspacePanel({
target="_blank"
external
>
<FormattedMessage
id="xpack.lens.editorFrame.goToForums"
defaultMessage="Make requests and give feedback"
/>
{i18n.translate('xpack.lens.editorFrame.goToForums', {
defaultMessage: 'Make requests and give feedback',
})}
</EuiLink>
</small>
</p>
Expand Down

0 comments on commit fccfad2

Please sign in to comment.