From 95691c74769ba8fa0021a4c835b44646d5d32ffe Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 29 Jun 2023 16:25:49 +0300 Subject: [PATCH] New: Show query type in history --- frontend/src/History/HistoryRow.js | 20 +++++++++++++++++++- frontend/src/Store/Actions/historyActions.js | 6 ++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/frontend/src/History/HistoryRow.js b/frontend/src/History/HistoryRow.js index ea9023ef6..a4fb91c12 100644 --- a/frontend/src/History/HistoryRow.js +++ b/frontend/src/History/HistoryRow.js @@ -1,10 +1,11 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import Label from 'Components/Label'; import IconButton from 'Components/Link/IconButton'; import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector'; import TableRowCell from 'Components/Table/Cells/TableRowCell'; import TableRow from 'Components/Table/TableRow'; -import { icons } from 'Helpers/Props'; +import { icons, kinds } from 'Helpers/Props'; import CapabilitiesLabel from 'Indexer/Index/Table/CapabilitiesLabel'; import translate from 'Utilities/String/translate'; import HistoryDetailsModal from './Details/HistoryDetailsModal'; @@ -225,6 +226,23 @@ class HistoryRow extends Component { ); } + if (name === 'queryType') { + return ( + + { + data.queryType ? + : + null + } + + ); + } + if (name === 'categories') { return (