parent
3b6d60e904
commit
8c93d73b42
|
@ -222,9 +222,11 @@ class QueueRow extends Component {
|
||||||
if (name === 'quality') {
|
if (name === 'quality') {
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name}>
|
<TableRowCell key={name}>
|
||||||
|
quality ?
|
||||||
<EpisodeQuality
|
<EpisodeQuality
|
||||||
quality={quality}
|
quality={quality}
|
||||||
/>
|
/> :
|
||||||
|
null
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import _ from 'lodash';
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
@ -15,11 +14,11 @@ function createMapStateToProps() {
|
||||||
createEpisodeSelector(),
|
createEpisodeSelector(),
|
||||||
createUISettingsSelector(),
|
createUISettingsSelector(),
|
||||||
(series, episode, uiSettings) => {
|
(series, episode, uiSettings) => {
|
||||||
const result = _.pick(uiSettings, [
|
const result = {
|
||||||
'showRelativeDates',
|
showRelativeDates: uiSettings.showRelativeDates,
|
||||||
'shortDateFormat',
|
shortDateFormat: uiSettings.shortDateFormat,
|
||||||
'timeFormat'
|
timeFormat: uiSettings.timeFormat
|
||||||
]);
|
};
|
||||||
|
|
||||||
result.series = series;
|
result.series = series;
|
||||||
result.episode = episode;
|
result.episode = episode;
|
||||||
|
|
Loading…
Reference in New Issue