diff --git a/client/src/app/admin/panel/settings/admin-panel-advanced-settings.js b/client/src/app/admin/panel/settings/admin-panel-advanced-settings.js index 8d319c94..39f769e0 100644 --- a/client/src/app/admin/panel/settings/admin-panel-advanced-settings.js +++ b/client/src/app/admin/panel/settings/admin-panel-advanced-settings.js @@ -238,14 +238,14 @@ class AdminPanelAdvancedSettings extends React.Component { .then((result) => this.setState({ messageType: 'success', messageTitle: i18n('SUCCESS_IMPORTING_CSV_DESCRIPTION'), - messageContent: ( + messageContent: (result.data.length) ? (
{i18n('ERRORS_FOUND')}
- ) + ) : null })) .catch(() => this.setState({messageType: 'error', messageTitle: null, messageContent: i18n('INVALID_FILE')})); }