From cb673ddc42df406ad9779481a7b5ae13e41f0649 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 2 May 2024 22:35:20 +0300 Subject: [PATCH] New: Host column in history and more info --- frontend/src/History/Details/HistoryDetails.js | 10 ++++++++++ frontend/src/History/HistoryRow.js | 15 +++++++++++++++ frontend/src/Store/Actions/historyActions.js | 6 ++++++ 3 files changed, 31 insertions(+) diff --git a/frontend/src/History/Details/HistoryDetails.js b/frontend/src/History/Details/HistoryDetails.js index e0ae06eb1..461ccc2d1 100644 --- a/frontend/src/History/Details/HistoryDetails.js +++ b/frontend/src/History/Details/HistoryDetails.js @@ -21,6 +21,7 @@ function HistoryDetails(props) { limit, offset, source, + host, url } = data; @@ -86,6 +87,15 @@ function HistoryDetails(props) { null } + { + data ? + : + null + } + { data ? + { + data.host ? + data.host : + null + } + + ); + } + if (name === 'elapsedTime') { return ( translate('Host'), + isSortable: false, + isVisible: false + }, { name: 'elapsedTime', label: () => translate('ElapsedTime'),