File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
controllers/ops_controller/settings
javascript/components/settings-cu-collection Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,13 @@ def cu_collection_fetch
113
113
114
114
clusters = [ ]
115
115
@edit [ :current ] . each do |key , value |
116
- if key . is_a? ( Numeric ) && value != [ ]
116
+ if key . is_a? ( Numeric )
117
117
clusters << value
118
- elsif key . is_a? ( Numeric ) && value == [ ]
119
- clusters << key
120
118
end
121
119
end
122
120
hosts = [ ]
123
121
clusters . each do |cluster |
124
- if !cluster . is_a? ( Numeric ) && ! cluster . empty?
122
+ if !cluster . empty?
125
123
cluster . each do |host |
126
124
hosts << host
127
125
end
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ const SettingsCUCollectionTab = ({
47
47
{ parseLabel ( node . text ) }
48
48
</ span > ,
49
49
showCheckbox : ! isDatastore || node . nodes !== undefined || depth === 0 ,
50
+ disabled : ! isDatastore && ! node . nodes && depth === 0 ,
50
51
} ;
51
52
52
53
let icon ;
You can’t perform that action at this time.
0 commit comments