Skip to content

Commit

Permalink
[7.x] Respect xpack.monitoring.show_license_expiration (#45537) (#45878)
Browse files Browse the repository at this point in the history
  • Loading branch information
cachedout authored Sep 19, 2019
1 parent 1493c89 commit c8a0a3f
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 c8a0a3f

Please sign in to comment.