Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 27, 2022
1 parent d342d61 commit 17a10d1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions client/src/containers/Node/NodeList/NodesList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Header from '../../Header';
import Table from '../../../components/Table';
import * as constants from '../../../utils/constants';
import { uriNodes } from '../../../utils/endpoints';
import Root from "../../../components/Root";
import Root from '../../../components/Root';

class NodesList extends Root {
state = {
Expand Down Expand Up @@ -31,8 +31,7 @@ class NodesList extends Root {
id: JSON.stringify(node.id) || '',
host: `${node.host}:${node.port}` || '',
rack: node.rack || '',
controller: nodes.controller.id === node.id ? `True`: `False` || '',
partitions: `${node.paritions} (${node.partitions} / ${node.total}})` || ''
controller: nodes.controller.id === node.id ? 'True': 'False' || '',
};
});
this.setState({ data: tableNodes, loading: false });
Expand Down Expand Up @@ -73,13 +72,6 @@ class NodesList extends Root {
type: 'text',
sortable: true
},
{
id: 'partitions',
accessor: 'partitions',
colName: 'Number of Partitions',
type: 'text',
sortable: true
},
{
id: 'rack',
accessor: 'rack',
Expand Down

0 comments on commit 17a10d1

Please sign in to comment.