From 1897cfacdddc77517a8c1b7d2ca18d8e7daa508f Mon Sep 17 00:00:00 2001 From: KharchenkoVV Date: Fri, 24 Sep 2021 11:45:25 +0500 Subject: [PATCH] Added message well depth display to monitoring page --- src/pages/Messages.jsx | 1 + src/pages/TelemetryView/ActiveMessagesOnline.jsx | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/pages/Messages.jsx b/src/pages/Messages.jsx index ce5d59e..197efe7 100644 --- a/src/pages/Messages.jsx +++ b/src/pages/Messages.jsx @@ -30,6 +30,7 @@ const columns = [ title: 'Глубина', key: 'wellDepth', dataIndex: 'wellDepth', + render: (_, item) => {_} м., }, { title: 'Категория', diff --git a/src/pages/TelemetryView/ActiveMessagesOnline.jsx b/src/pages/TelemetryView/ActiveMessagesOnline.jsx index 1e5e4e8..c613546 100644 --- a/src/pages/TelemetryView/ActiveMessagesOnline.jsx +++ b/src/pages/TelemetryView/ActiveMessagesOnline.jsx @@ -25,6 +25,12 @@ const columns = [ sorter: (a, b) => new Date(b.date) - new Date(a.date), sortDirections: ['descend', 'ascend'], }, + { + title: 'Глубина', + key: 'wellDepth', + dataIndex: 'wellDepth', + render: (_, item) => Глубина {_} м., + }, { title: 'Категория', dataIndex: 'categoryId',