mirror of https://github.com/rancher/ui.git
Fix the issue that cluster name is missing on cluster dashboard page
This commit is contained in:
parent
0ef31c683c
commit
330fa30ec1
|
|
@ -7,9 +7,11 @@ export default Route.extend({
|
|||
|
||||
model: function() {
|
||||
return this.get('clusterStore').find('node').then((nodes) => {
|
||||
const cluster = this.get('scope').currentCluster;
|
||||
return {
|
||||
displayName: cluster.name,
|
||||
nodes,
|
||||
cluster: this.get('scope').currentCluster,
|
||||
cluster,
|
||||
};
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue