diff options
| author | yaling888 <[email protected]> | 2021-07-30 11:59:49 +0800 |
|---|---|---|
| committer | yaling888 <[email protected]> | 2021-07-30 11:59:49 +0800 |
| commit | 96c16b0ae5562cbe16b311da0ed9f839da172c4e (patch) | |
| tree | 51c3d5cde30b6124b4199ca056fd6399fdc935e8 /src/components/ConnectionTable.tsx | |
| parent | 1d4ce87c5eb2fc675857355efc539785eb0bd288 (diff) | |
feat: add process name to metadata
Diffstat (limited to 'src/components/ConnectionTable.tsx')
| -rw-r--r-- | src/components/ConnectionTable.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ConnectionTable.tsx b/src/components/ConnectionTable.tsx index 2323e2e..f2e70a4 100644 --- a/src/components/ConnectionTable.tsx +++ b/src/components/ConnectionTable.tsx @@ -12,6 +12,7 @@ const sortDescFirst = true; const columns = [ { accessor: 'id', show: false }, { Header: 'Host', accessor: 'host' }, + { Header: 'Process', accessor: 'process' }, { Header: 'DL', accessor: 'download', sortDescFirst }, { Header: 'UL', accessor: 'upload', sortDescFirst }, { Header: 'DL Speed', accessor: 'downloadSpeedCurr', sortDescFirst }, @@ -88,7 +89,7 @@ function Table({ data }) { className={cx( s.td, i % 2 === 0 ? s.odd : false, - j >= 1 && j <= 4 ? s.du : false + j >= 2 && j <= 5 ? s.du : false )} > {renderCell(cell)} |
