2024-11-06 10:35:27: merge [main:1a35a7d03efbf594b8b1629e8b84b97ceb732fc1];
This commit is contained in:
1 parent
685a32ee30
commit
fbad913311
3 files changed
+4
-7
No files matched your search
@@ -60,11 +60,6 @@ const Connections = () => {
|
||||
const formatFullDate = (obj: string) =>
|
||||
dayjs(obj).format(dateFormats.fullFormat)
|
||||
|
||||
const keySelector = ({
|
||||
address: { ip, port },
|
||||
establishedAt
|
||||
}: ModuleStatusType) => ip + port + establishedAt
|
||||
|
||||
const renderEndpoints = ({ endpoints }: ModuleStatusType) => {
|
||||
if (endpoints && endpoints.length) {
|
||||
return (
|
||||
@@ -144,7 +139,7 @@ const Connections = () => {
|
||||
<div className="connection-page__content">
|
||||
<div className="connection-page__content__wrap-table">
|
||||
<Table
|
||||
rowKey={keySelector}
|
||||
rowKey={(record) => record.id}
|
||||
pagination={false}
|
||||
dataSource={obj}
|
||||
columns={columns}
|
||||
|
||||
Reference in new issue
Block a user