1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-25 22:46:31 -04:00

Adding missing series Deleted UI elements

This commit is contained in:
Taloth Saldono
2019-10-20 21:38:15 +02:00
parent 41a63a5418
commit b72fbe06f7
5 changed files with 43 additions and 9 deletions
@@ -3,6 +3,7 @@ import React from 'react';
import { icons } from 'Helpers/Props';
import Icon from 'Components/Icon';
import VirtualTableRowCell from 'Components/Table/Cells/TableRowCell';
import { getSeriesStatusDetails } from 'Series/SeriesStatus';
import styles from './SeriesStatusCell.css';
function SeriesStatusCell(props) {
@@ -14,6 +15,8 @@ function SeriesStatusCell(props) {
...otherProps
} = props;
const statusDetails = getSeriesStatusDetails(status);
return (
<Component
className={className}
@@ -27,8 +30,8 @@ function SeriesStatusCell(props) {
<Icon
className={styles.statusIcon}
name={status === 'ended' ? icons.SERIES_ENDED : icons.SERIES_CONTINUING}
title={status === 'ended' ? 'Ended' : 'Continuing'}
name={statusDetails.icon}
title={`${statusDetails.title}: ${statusDetails.message}`}
/>
</Component>