No simple mode

This commit is contained in:
Vincent Fiduccia 2017-09-19 10:27:33 -07:00
parent 777a98f910
commit e8ef022974
No known key found for this signature in database
GPG Key ID: 2B29AD6BB2BB2582
2 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,8 @@ export default Ember.Controller.extend({
return this.get('projects.currentCluster.state') === 'inactive' && !this.get('hosts.length');
}.property('projects.currentCluster.state','hosts.[]'),
simpleMode: false,
/*
simpleMode: function() {
let list = this.get('stacks');
if ( !this.get('prefs.showSystemResources') ) {
@ -48,6 +50,7 @@ export default Ember.Controller.extend({
let bad = list.findBy('isDefault', false);
return !bad;
}.property('stacks.@each.{system,isDefault}','prefs.showSystemResources'),
*/
groupTableBy: function() {
if ( this.get('group') === STACK && !this.get('simpleMode') ) {

View File

@ -3504,6 +3504,9 @@ nav:
environment:
cluster: Cluster
label: Environment
all: All Environments
your: Your Environments
selected: Selected Environment
manage: Manage Clusters
edit: 'Edit "{name}"'
notReady: Setting Up...