mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: New redirect icon
This commit is contained in:
@@ -70,6 +70,7 @@ import {
|
|||||||
faLanguage as fasLanguage,
|
faLanguage as fasLanguage,
|
||||||
faLaptop as fasLaptop,
|
faLaptop as fasLaptop,
|
||||||
faLevelUpAlt as fasLevelUpAlt,
|
faLevelUpAlt as fasLevelUpAlt,
|
||||||
|
faLocationArrow as fasLocationArrow,
|
||||||
faLock as fasLock,
|
faLock as fasLock,
|
||||||
faMedkit as fasMedkit,
|
faMedkit as fasMedkit,
|
||||||
faMinus as fasMinus,
|
faMinus as fasMinus,
|
||||||
@@ -191,6 +192,7 @@ export const POSTER = fasTh;
|
|||||||
export const QUEUED = fasCloud;
|
export const QUEUED = fasCloud;
|
||||||
export const QUICK = fasRocket;
|
export const QUICK = fasRocket;
|
||||||
export const RECOMMENDED = fasThumbsUp;
|
export const RECOMMENDED = fasThumbsUp;
|
||||||
|
export const REDIRECT = fasLocationArrow;
|
||||||
export const REFRESH = fasSync;
|
export const REFRESH = fasSync;
|
||||||
export const REMOVE = fasTimes;
|
export const REMOVE = fasTimes;
|
||||||
export const RESTART = fasRedoAlt;
|
export const RESTART = fasRedoAlt;
|
||||||
|
@@ -19,6 +19,7 @@ function IndexerStatusCell(props) {
|
|||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const enableKind = redirect ? kinds.INFO : kinds.SUCCESS;
|
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';
|
const enableTitle = redirect ? 'Indexer is Enabled, Redirect is Enabled' : 'Indexer is Enabled';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -30,7 +31,7 @@ function IndexerStatusCell(props) {
|
|||||||
<Icon
|
<Icon
|
||||||
className={styles.statusIcon}
|
className={styles.statusIcon}
|
||||||
kind={enabled ? enableKind : kinds.DEFAULT}
|
kind={enabled ? enableKind : kinds.DEFAULT}
|
||||||
name={enabled ? icons.CHECK : icons.BLACKLIST}
|
name={enabled ? enableIcon: icons.BLACKLIST}
|
||||||
title={enabled ? enableTitle : 'Indexer is Disabled'}
|
title={enabled ? enableTitle : 'Indexer is Disabled'}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user