Skip to content

Commit

Permalink
Fix 'Create Rollup Index Pattern' button badge color. (#32954) (#33009)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored Mar 12, 2019
1 parent 8590d40 commit e8673e5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
EuiDescriptionListDescription,
EuiDescriptionListTitle,
EuiPopover,
rgbToHex,
} from '@elastic/eui';

import { FormattedMessage } from '@kbn/i18n/react';
Expand Down Expand Up @@ -137,9 +136,8 @@ export class CreateButton extends Component<Props, State> {
};

private renderBetaBadge = () => {
const color = rgbToHex(euiColorAccent);
return (
<EuiBadge color={color}>
<EuiBadge color={euiColorAccent}>
<FormattedMessage
id="kbn.management.indexPatternList.createButton.betaLabel"
defaultMessage="Beta"
Expand Down

0 comments on commit e8673e5

Please sign in to comment.