From f45cc298160778c8ea2443caa3944bfad68a9123 Mon Sep 17 00:00:00 2001 From: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com> Date: Fri, 7 May 2021 15:00:18 +0100 Subject: [PATCH] Fixed: Import Lists provider message in UI --- .../ImportLists/EditImportListModalContent.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js b/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js index 7c6a70df3..cb2857bdf 100644 --- a/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js +++ b/frontend/src/Settings/ImportLists/ImportLists/EditImportListModalContent.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React from 'react'; +import Alert from 'Components/Alert'; import DescriptionList from 'Components/DescriptionList/DescriptionList'; import DescriptionListItem from 'Components/DescriptionList/DescriptionListItem'; import Form from 'Components/Form/Form'; @@ -77,7 +78,8 @@ function EditImportListModalContent(props) { qualityProfileId, metadataProfileId, tags, - fields + fields, + message } = item; return ( @@ -102,6 +104,15 @@ function EditImportListModalContent(props) { { !isFetching && !error &&
+ { + !!message && + + {message.value.message} + + } {translate('Name')}