mirror of https://github.com/rancher/ui.git
No simple mode
This commit is contained in:
parent
777a98f910
commit
e8ef022974
|
|
@ -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') ) {
|
||||
|
|
|
|||
|
|
@ -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...
|
||||
|
|
|
|||
Loading…
Reference in New Issue