Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbad913311 |
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
## 0.18.1
|
||||||
|
- В разделе модули в таблице подключений модуля для key строк в таблице добавлено id
|
||||||
## 0.18.0
|
## 0.18.0
|
||||||
- Исправлено редактирование JSON в конфиге
|
- Исправлено редактирование JSON в конфиге
|
||||||
## 0.17.3
|
## 0.17.3
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "isp-admin-ui",
|
"name": "isp-admin-ui",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.18.0",
|
"version": "0.18.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
|||||||
@@ -60,11 +60,6 @@ const Connections = () => {
|
|||||||
const formatFullDate = (obj: string) =>
|
const formatFullDate = (obj: string) =>
|
||||||
dayjs(obj).format(dateFormats.fullFormat)
|
dayjs(obj).format(dateFormats.fullFormat)
|
||||||
|
|
||||||
const keySelector = ({
|
|
||||||
address: { ip, port },
|
|
||||||
establishedAt
|
|
||||||
}: ModuleStatusType) => ip + port + establishedAt
|
|
||||||
|
|
||||||
const renderEndpoints = ({ endpoints }: ModuleStatusType) => {
|
const renderEndpoints = ({ endpoints }: ModuleStatusType) => {
|
||||||
if (endpoints && endpoints.length) {
|
if (endpoints && endpoints.length) {
|
||||||
return (
|
return (
|
||||||
@@ -144,7 +139,7 @@ const Connections = () => {
|
|||||||
<div className="connection-page__content">
|
<div className="connection-page__content">
|
||||||
<div className="connection-page__content__wrap-table">
|
<div className="connection-page__content__wrap-table">
|
||||||
<Table
|
<Table
|
||||||
rowKey={keySelector}
|
rowKey={(record) => record.id}
|
||||||
pagination={false}
|
pagination={false}
|
||||||
dataSource={obj}
|
dataSource={obj}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
|
|||||||
Reference in new issue
Block a user