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