From cff107732957c6bc2d173a360e1f23ff783ff561 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Fri, 13 Sep 2019 06:42:08 +0000 Subject: [PATCH] Respect xpack.monitoring.show_license_expiration (#45537) --- .../plugins/monitoring/public/views/cluster/overview/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js index b9ecc92d79cc..5cf212abf901 100644 --- a/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js +++ b/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js @@ -30,6 +30,7 @@ uiRoutes.when('/overview', { const kbnUrl = $injector.get('kbnUrl'); const monitoringClusters = $injector.get('monitoringClusters'); const globalState = $injector.get('globalState'); + const showLicenseExpiration = $injector.get('showLicenseExpiration'); super({ title: i18n.translate('xpack.monitoring.cluster.overviewTitle', { @@ -64,7 +65,7 @@ uiRoutes.when('/overview', { cluster={data} setupMode={setupMode} changeUrl={changeUrl} - showLicenseExpiration={true} + showLicenseExpiration={showLicenseExpiration} /> )}