mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Add internal links for apps and download clients health checks
This commit is contained in:
@@ -16,6 +16,23 @@ import styles from './Health.css';
|
|||||||
|
|
||||||
function getInternalLink(source) {
|
function getInternalLink(source) {
|
||||||
switch (source) {
|
switch (source) {
|
||||||
|
case 'ApplicationStatusCheck':
|
||||||
|
case 'ApplicationLongTermStatusCheck':
|
||||||
|
return (
|
||||||
|
<IconButton
|
||||||
|
name={icons.SETTINGS}
|
||||||
|
title={translate('Settings')}
|
||||||
|
to="/settings/applications"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
case 'DownloadClientStatusCheck':
|
||||||
|
return (
|
||||||
|
<IconButton
|
||||||
|
name={icons.SETTINGS}
|
||||||
|
title={translate('Settings')}
|
||||||
|
to="/settings/downloadclients"
|
||||||
|
/>
|
||||||
|
);
|
||||||
case 'IndexerRssCheck':
|
case 'IndexerRssCheck':
|
||||||
case 'IndexerSearchCheck':
|
case 'IndexerSearchCheck':
|
||||||
case 'IndexerStatusCheck':
|
case 'IndexerStatusCheck':
|
||||||
|
Reference in New Issue
Block a user