diff --git a/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js b/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js index d185bca30..7a1b443f9 100644 --- a/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js +++ b/frontend/src/AddSeries/AddNewSeries/AddNewSeries.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import getErrorMessage from 'Utilities/Object/getErrorMessage'; import { icons, kinds } from 'Helpers/Props'; import Button from 'Components/Link/Button'; import Link from 'Components/Link/Link'; @@ -122,8 +123,13 @@ class AddNewSeries extends Component { } { - !isFetching && !!error && -
Failed to load search results, please try again.
+ !isFetching && !!error ? +
+
+ Failed to load search results, please try again. +
+
{getErrorMessage(error)}
+
: null } {