Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed May 14, 2024
1 parent 71ce4ce commit 27ec6e8
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions src/plugins/share/public/components/tabs/link/link_content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,20 @@ export const LinkContent = ({
<EuiForm>
<EuiSpacer size="m" />
{isDirty && objectType === 'lens' && (
<EuiCallOut
color="warning"
title={
<FormattedMessage id="share.link.warning.title" defaultMessage="Unsaved changes" />
}
>
<FormattedMessage
id="share.link.warning.lens"
defaultMessage="There are unsaved changes. Before you generate a link, save the lens visualization."
/>
</EuiCallOut>
<>
<EuiCallOut
color="warning"
title={
<FormattedMessage id="share.link.warning.title" defaultMessage="Unsaved changes" />
}
>
<FormattedMessage
id="share.link.warning.lens"
defaultMessage="Copy the link to get a temporary link. Save the lens visualization to create a permanent link."
/>
</EuiCallOut>
<EuiSpacer size="m" />
</>
)}
<EuiText size="s">
<FormattedMessage
Expand Down

0 comments on commit 27ec6e8

Please sign in to comment.