Skip to content

Commit

Permalink
GUI Issue (#3794): Cloud nodes tab - apply ALL flag to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrGorodetskii committed Dec 20, 2024
1 parent 9e0b40c commit 5990c7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions client/src/components/cluster/Cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,7 @@ export default class Cluster extends localization.LocalizedReactComponent {
onCellClick: this.onNodeInstanceSelect,
render: (item, record) => {
return (
<span className={classNames({
// 'cp-primary': highlightCloudNodes && record.isCloudNode
})}>
<span>
{item}
{highlightCloudNodes && record.isCloudNode ? (
<Icon style={{marginLeft: 5, fontSize: 14}} type="cloud-o" />
Expand Down Expand Up @@ -733,7 +731,7 @@ export default class Cluster extends localization.LocalizedReactComponent {
addresses: node.addresses,
created: node.creationTimestamp,
labels: node.labels,
uid: node.uid || `${node.region}_${node.name}`,
uid: node.uid || `${node.region}_${node.name}_${node.createdDate}`,
pipelineRun: node.pipelineRun,
runId: node.runId,
mask: node.mask,
Expand Down
3 changes: 1 addition & 2 deletions client/src/models/cluster/FilterClusterNodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
import RemotePost from '../basic/RemotePost';

class FilterClusterNodes extends RemotePost {

constructor () {
super();
this.url = '/cluster/node/filter';
this.url = '/cluster/node/filter?machineType=ALL';
};

postprocess (value) {
Expand Down

0 comments on commit 5990c7e

Please sign in to comment.