diff --git a/frontend/src/Indexer/NoIndexer.css b/frontend/src/Indexer/NoIndexer.css
index 38a01f391..4ad534de3 100644
--- a/frontend/src/Indexer/NoIndexer.css
+++ b/frontend/src/Indexer/NoIndexer.css
@@ -1,4 +1,6 @@
.message {
+ composes: alert from '~Components/Alert.css';
+
margin-top: 10px;
margin-bottom: 30px;
text-align: center;
diff --git a/frontend/src/Indexer/NoIndexer.tsx b/frontend/src/Indexer/NoIndexer.tsx
index 75650cad6..f71ffc6e9 100644
--- a/frontend/src/Indexer/NoIndexer.tsx
+++ b/frontend/src/Indexer/NoIndexer.tsx
@@ -1,4 +1,5 @@
import React from 'react';
+import Alert from 'Components/Alert';
import Button from 'Components/Link/Button';
import { kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
@@ -14,11 +15,9 @@ function NoIndexer(props: NoIndexerProps) {
if (totalItems > 0) {
return (
-
-
- {translate('AllIndexersHiddenDueToFilter')}
-
-
+
+ {translate('AllIndexersHiddenDueToFilter')}
+
);
}
diff --git a/frontend/src/Search/NoSearchResults.css b/frontend/src/Search/NoSearchResults.css
index eff6272f7..f17dd633e 100644
--- a/frontend/src/Search/NoSearchResults.css
+++ b/frontend/src/Search/NoSearchResults.css
@@ -1,4 +1,6 @@
.message {
+ composes: alert from '~Components/Alert.css';
+
margin-top: 10px;
margin-bottom: 30px;
text-align: center;
diff --git a/frontend/src/Search/NoSearchResults.tsx b/frontend/src/Search/NoSearchResults.tsx
index 4ffd1d7fd..46fbc85e0 100644
--- a/frontend/src/Search/NoSearchResults.tsx
+++ b/frontend/src/Search/NoSearchResults.tsx
@@ -1,4 +1,6 @@
import React from 'react';
+import Alert from 'Components/Alert';
+import { kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './NoSearchResults.css';
@@ -11,18 +13,16 @@ function NoSearchResults(props: NoSearchResultsProps) {
if (totalItems > 0) {
return (
-
-
- {translate('AllIndexersHiddenDueToFilter')}
-
-
+
+ {translate('AllSearchResultsHiddenByFilter')}
+
);
}
return (
-
-
{translate('NoSearchResultsFound')}
-
+
+ {translate('NoSearchResultsFound')}
+
);
}
diff --git a/frontend/src/Search/SearchIndex.js b/frontend/src/Search/SearchIndex.js
index 17f7c5b3a..d12635070 100644
--- a/frontend/src/Search/SearchIndex.js
+++ b/frontend/src/Search/SearchIndex.js
@@ -282,7 +282,7 @@ class SearchIndex extends Component {
const ViewComponent = getViewComponent(isSmallScreen);
const isLoaded = !!(!error && isPopulated && items.length && this.scrollerRef.current);
- const hasNoIndexer = !totalItems;
+ const hasNoSearchResults = !totalItems;
return (
@@ -306,7 +306,7 @@ class SearchIndex extends Component {
@@ -314,7 +314,7 @@ class SearchIndex extends Component {
selectedFilterKey={selectedFilterKey}
filters={filters}
customFilters={customFilters}
- isDisabled={hasNoIndexer}
+ isDisabled={hasNoSearchResults}
onFilterSelect={onFilterSelect}
/>
diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json
index 66fe875dc..c4ebf1b30 100644
--- a/src/NzbDrone.Core/Localization/Core/en.json
+++ b/src/NzbDrone.Core/Localization/Core/en.json
@@ -31,6 +31,7 @@
"Album": "Album",
"All": "All",
"AllIndexersHiddenDueToFilter": "All indexers are hidden due to applied filter.",
+ "AllSearchResultsHiddenByFilter": "All search results are hidden by the applied filter.",
"Analytics": "Analytics",
"AnalyticsEnabledHelpText": "Send anonymous usage and error information to {appName}'s servers. This includes information on your browser, which {appName} WebUI pages you use, error reporting as well as OS and runtime version. We will use this information to prioritize features and bug fixes.",
"Any": "Any",