1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-15 21:05:48 -04:00

New: Calculate custom formats on demand

This commit is contained in:
ta264
2020-01-22 21:47:33 +00:00
parent 13701498ce
commit df101258c5
103 changed files with 1901 additions and 1346 deletions

View File

@@ -72,6 +72,7 @@ class QueueRow extends Component {
errorMessage,
movie,
quality,
customFormats,
languages,
protocol,
indexer,
@@ -169,11 +170,11 @@ class QueueRow extends Component {
);
}
if (name === 'quality.customFormats') {
if (name === 'customFormats') {
return (
<TableRowCell key={name}>
<MovieFormats
formats={quality.customFormats}
formats={customFormats}
/>
</TableRowCell>
);
@@ -329,6 +330,7 @@ QueueRow.propTypes = {
errorMessage: PropTypes.string,
movie: PropTypes.object,
quality: PropTypes.object.isRequired,
customFormats: PropTypes.arrayOf(PropTypes.object),
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
protocol: PropTypes.string.isRequired,
indexer: PropTypes.string,