@@ -25,6 +25,8 @@ App.MainAdminHighAvailabilityView = Em.View.extend({
this.get('controller').setSecurityStatus();
},
- isHighAvailabilityEnabled: false //todo: real check
+ isHighAvailabilityEnabled: function () {
+ return !App.HostComponent.find().someProperty('componentName', 'SECONDARY_NAMENODE');
+ }.property()
});