mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
New: Add internal links for apps and download clients health checks
This commit is contained in:
parent
cae1da0ce2
commit
cdea548ce2
1 changed files with 17 additions and 0 deletions
|
|
@ -16,6 +16,23 @@ import styles from './Health.css';
|
|||
|
||||
function getInternalLink(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 'IndexerSearchCheck':
|
||||
case 'IndexerStatusCheck':
|
||||
|
|
|
|||
Loading…
Reference in a new issue