mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Revert "Capitalize the license type in monitoring"
This reverts commit 38ad3a516d
.
This commit is contained in:
parent
38ad3a516d
commit
94e85c7a60
1 changed files with 2 additions and 3 deletions
|
@ -18,7 +18,6 @@ import {
|
|||
export class LicenseStatus extends React.PureComponent {
|
||||
render() {
|
||||
const { isExpired, status, type, expiryDate } = this.props;
|
||||
const capitalizedType = type[0].toUpperCase() + type.slice(1);
|
||||
let icon;
|
||||
let title;
|
||||
let message;
|
||||
|
@ -29,7 +28,7 @@ export class LicenseStatus extends React.PureComponent {
|
|||
Your license expired on <strong>{expiryDate}</strong>
|
||||
</Fragment>
|
||||
);
|
||||
title = `Your ${capitalizedType} license has expired`;
|
||||
title = `Your ${type} license has expired`;
|
||||
} else {
|
||||
icon = <EuiIcon color="success" type="checkInCircleFilled" />;
|
||||
message = expiryDate ? (
|
||||
|
@ -39,7 +38,7 @@ export class LicenseStatus extends React.PureComponent {
|
|||
) : (
|
||||
<Fragment>Your license will never expire.</Fragment>
|
||||
);
|
||||
title = `Your ${capitalizedType} license is ${status.toLowerCase()}`;
|
||||
title = `Your ${type} license is ${status.toLowerCase()}`;
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue