mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 15:59:36 +02:00
Fixed: Index Table Status shows Correct Icons
This commit is contained in:
parent
de7d6c68b8
commit
1b6e6f80b6
@ -30,6 +30,7 @@ import {
|
||||
faBookmark as fasBookmark,
|
||||
faBookReader as fasBookReader,
|
||||
faBug as fasBug,
|
||||
faBullhorn as fasBullhorn,
|
||||
faBroadcastTower as fasBroadcastTower,
|
||||
faCalendarAlt as fasCalendarAlt,
|
||||
faCaretDown as fasCaretDown,
|
||||
@ -91,6 +92,7 @@ import {
|
||||
faTable as fasTable,
|
||||
faTh as fasTh,
|
||||
faThList as fasThList,
|
||||
faTicketAlt as fasTicketAlt,
|
||||
faTrashAlt as fasTrashAlt,
|
||||
faTimes as fasTimes,
|
||||
faTimesCircle as fasTimesCircle,
|
||||
@ -108,6 +110,7 @@ export const ACTIVITY = farClock;
|
||||
export const ADD = fasPlus;
|
||||
export const ALTERNATE_TITLES = farClone;
|
||||
export const ADVANCED_SETTINGS = fasCog;
|
||||
export const ANNOUNCED = fasBullhorn;
|
||||
export const ARROW_LEFT = fasArrowCircleLeft;
|
||||
export const ARROW_RIGHT = fasArrowCircleRight;
|
||||
export const BACKUP = farFileArchive;
|
||||
@ -148,6 +151,7 @@ export const HEALTH = fasMedkit;
|
||||
export const HEART = fasHeart;
|
||||
export const HISTORY = fasHistory;
|
||||
export const HOUSEKEEPING = fasHome;
|
||||
export const IN_CINEMAS = fasTicketAlt;
|
||||
export const INFO = fasInfoCircle;
|
||||
export const INTERACTIVE = fasUser;
|
||||
export const KEYBOARD = farKeyboard;
|
||||
|
@ -25,12 +25,32 @@ function MovieStatusCell(props) {
|
||||
title={monitored ? 'Movie is monitored' : 'Movie is unmonitored'}
|
||||
/>
|
||||
|
||||
<Icon
|
||||
className={styles.statusIcon}
|
||||
name={status === 'released' ? icons.SERIES_ENDED : icons.MOVIE_CONTINUING}
|
||||
title={status === 'ended' ? 'Ended' : 'Continuing'}
|
||||
{
|
||||
status === 'announced' ?
|
||||
<Icon
|
||||
className={styles.statusIcon}
|
||||
name={icons.ANNOUNCED}
|
||||
title={'Movie is announced'}
|
||||
/> : null
|
||||
}
|
||||
|
||||
/>
|
||||
{
|
||||
status === 'inCinemas' ?
|
||||
<Icon
|
||||
className={styles.statusIcon}
|
||||
name={icons.IN_CINEMAS}
|
||||
title={'Movie is in Cinemas'}
|
||||
/> : null
|
||||
}
|
||||
|
||||
{
|
||||
status === 'released' ?
|
||||
<Icon
|
||||
className={styles.statusIcon}
|
||||
name={icons.MOVIE_FILE}
|
||||
title={'Movie is released'}
|
||||
/> : null
|
||||
}
|
||||
</Component>
|
||||
);
|
||||
}
|
||||
|
@ -58,14 +58,15 @@ export const defaultState = {
|
||||
columns: [
|
||||
{
|
||||
name: 'select',
|
||||
columnLabel: 'select',
|
||||
columnLabel: 'Select',
|
||||
isSortable: false,
|
||||
isVisible: true,
|
||||
isModifiable: false
|
||||
isModifiable: false,
|
||||
isHidden: true
|
||||
},
|
||||
{
|
||||
name: 'status',
|
||||
columnLabel: 'Status',
|
||||
columnLabel: 'Release Status',
|
||||
isSortable: true,
|
||||
isVisible: true,
|
||||
isModifiable: false
|
||||
|
Loading…
Reference in New Issue
Block a user