From 6a05bb12f35683caf6417630c00092cd31cc2bbc Mon Sep 17 00:00:00 2001 From: Chris Roberson Date: Wed, 11 Jul 2018 14:29:05 -0400 Subject: [PATCH] Pass in the type capitalized --- x-pack/plugins/monitoring/public/views/license/controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/monitoring/public/views/license/controller.js b/x-pack/plugins/monitoring/public/views/license/controller.js index 49dbec438f0b0..b1cc23b9ee59c 100644 --- a/x-pack/plugins/monitoring/public/views/license/controller.js +++ b/x-pack/plugins/monitoring/public/views/license/controller.js @@ -54,12 +54,14 @@ export class LicenseViewController { expiryDate = formatDateTimeLocal(license.expiry_date); } + const capitalizedType = license.type[0].toUpperCase() + license.type.slice(1); + // Mount the React component to the template render(