mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Fixed: New redirect icon
This commit is contained in:
parent
6f7987a907
commit
5d61025eca
2 changed files with 4 additions and 1 deletions
|
@ -70,6 +70,7 @@ import {
|
|||
faLanguage as fasLanguage,
|
||||
faLaptop as fasLaptop,
|
||||
faLevelUpAlt as fasLevelUpAlt,
|
||||
faLocationArrow as fasLocationArrow,
|
||||
faLock as fasLock,
|
||||
faMedkit as fasMedkit,
|
||||
faMinus as fasMinus,
|
||||
|
@ -191,6 +192,7 @@ export const POSTER = fasTh;
|
|||
export const QUEUED = fasCloud;
|
||||
export const QUICK = fasRocket;
|
||||
export const RECOMMENDED = fasThumbsUp;
|
||||
export const REDIRECT = fasLocationArrow;
|
||||
export const REFRESH = fasSync;
|
||||
export const REMOVE = fasTimes;
|
||||
export const RESTART = fasRedoAlt;
|
||||
|
|
|
@ -19,6 +19,7 @@ function IndexerStatusCell(props) {
|
|||
} = props;
|
||||
|
||||
const enableKind = redirect ? kinds.INFO : kinds.SUCCESS;
|
||||
const enableIcon = redirect ? icons.REDIRECT : icons.CHECK;
|
||||
const enableTitle = redirect ? 'Indexer is Enabled, Redirect is Enabled' : 'Indexer is Enabled';
|
||||
|
||||
return (
|
||||
|
@ -30,7 +31,7 @@ function IndexerStatusCell(props) {
|
|||
<Icon
|
||||
className={styles.statusIcon}
|
||||
kind={enabled ? enableKind : kinds.DEFAULT}
|
||||
name={enabled ? icons.CHECK : icons.BLACKLIST}
|
||||
name={enabled ? enableIcon: icons.BLACKLIST}
|
||||
title={enabled ? enableTitle : 'Indexer is Disabled'}
|
||||
/>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue