Compare commits

...
1 Commits
3 changed files with 4 additions and 7 deletions

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
## 0.18.1
- В разделе модули в таблице подключений модуля для key строк в таблице добавлено id
## 0.18.0
- Исправлено редактирование JSON в конфиге
## 0.17.3
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "isp-admin-ui",
"private": true,
"version": "0.18.0",
"version": "0.18.1",
"type": "module",
"scripts": {
"start": "vite",
+1 -6
View File
@@ -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}