From ca2e62492daa8bab5f886aab4687c1713d335b2a Mon Sep 17 00:00:00 2001 From: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com> Date: Fri, 7 May 2021 17:08:19 +0100 Subject: [PATCH] Fixed: Import Lists messages can now show 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 ff7431188..c3636aebb 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 Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; @@ -47,7 +48,8 @@ function EditImportListModalContent(props) { rootFolderPath, searchOnAdd, tags, - fields + fields, + message } = item; return ( @@ -74,6 +76,15 @@ function EditImportListModalContent(props) {
+ { + !!message && + + {message.value.message} + + } {translate('Name')}