mirror of https://github.com/rancher/ui.git
Fix group by style issue
https://github.com/rancher/rancher/issues/13018
This commit is contained in:
parent
5ced1bd093
commit
4e7f618b9c
|
|
@ -14,6 +14,7 @@ export default Component.extend({
|
||||||
afterState: 0,
|
afterState: 0,
|
||||||
alignState: 'text-center',
|
alignState: 'text-center',
|
||||||
showActions: true,
|
showActions: true,
|
||||||
|
nameSpan: null,
|
||||||
|
|
||||||
nodes: null,
|
nodes: null,
|
||||||
nodeId: null,
|
nodeId: null,
|
||||||
|
|
@ -27,5 +28,13 @@ export default Component.extend({
|
||||||
const targetNode = nodes.find(n => n.id === nodeId && n.clusterId === clusterId);
|
const targetNode = nodes.find(n => n.id === nodeId && n.clusterId === clusterId);
|
||||||
set(this, 'model', targetNode);
|
set(this, 'model', targetNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const nameSpan = get(this,'fullColspan') -
|
||||||
|
( get(this, 'afterName') ? 1 : 0 ) -
|
||||||
|
( get(this, 'showState') ? 1 : 0 ) -
|
||||||
|
( get(this, 'afterState') ? 1 : 0 ) -
|
||||||
|
( get(this, 'showActions') ? 1 : 0 );
|
||||||
|
|
||||||
|
set(this, 'nameSpan', nameSpan);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue