Skip to content

Commit

Permalink
More review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wylieconlon committed Jun 9, 2021
1 parent e2e4e6d commit 28cf06e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,14 @@ export function DimensionEditor(props: DimensionEditorProps) {
<EuiCallOut
size="s"
title={i18n.translate('xpack.lens.indexPattern.formulaWarning', {
defaultMessage: 'Staged formula',
defaultMessage: 'Formula currently applied',
})}
iconType="alert"
color="warning"
>
<p>
{i18n.translate('xpack.lens.indexPattern.formulaWarningText', {
defaultMessage: 'Picking a quick function will erase your formula.',
defaultMessage: 'To overwrite your formula, select a quick function',
})}
</p>
</EuiCallOut>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ export function FormulaEditor({
className="lnsFormula__editorError"
iconType="alert"
size="xs"
flush="right"
onClick={() => {
setIsWarningOpen(!isWarningOpen);
}}
Expand Down

0 comments on commit 28cf06e

Please sign in to comment.