Skip to content

Commit

Permalink
Respect xpack.monitoring.show_license_expiration (#45537)
Browse files Browse the repository at this point in the history
  • Loading branch information
cachedout committed Sep 13, 2019
1 parent f250b49 commit 384d220
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -64,7 +65,7 @@ uiRoutes.when('/overview', {
cluster={data}
setupMode={setupMode}
changeUrl={changeUrl}
showLicenseExpiration={true}
showLicenseExpiration={showLicenseExpiration}
/>
</Fragment>
)}
Expand Down

0 comments on commit 384d220

Please sign in to comment.