mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
New: Release group column on movie details files tab
(cherry picked from commit 30aa5f9070bc9611bb9459d9d96bf293c971f891)
This commit is contained in:
@@ -33,3 +33,9 @@
|
|||||||
|
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.releaseGroup {
|
||||||
|
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||||
|
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ class MovieFileEditorRow extends Component {
|
|||||||
mediaInfo,
|
mediaInfo,
|
||||||
relativePath,
|
relativePath,
|
||||||
size,
|
size,
|
||||||
|
releaseGroup,
|
||||||
quality,
|
quality,
|
||||||
qualityCutoffNotMet,
|
qualityCutoffNotMet,
|
||||||
customFormats,
|
customFormats,
|
||||||
@@ -155,6 +156,12 @@ class MovieFileEditorRow extends Component {
|
|||||||
}
|
}
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
|
|
||||||
|
<TableRowCell
|
||||||
|
className={styles.releaseGroup}
|
||||||
|
>
|
||||||
|
{releaseGroup}
|
||||||
|
</TableRowCell>
|
||||||
|
|
||||||
<TableRowCell
|
<TableRowCell
|
||||||
className={styles.formats}
|
className={styles.formats}
|
||||||
>
|
>
|
||||||
@@ -216,6 +223,7 @@ MovieFileEditorRow.propTypes = {
|
|||||||
size: PropTypes.number.isRequired,
|
size: PropTypes.number.isRequired,
|
||||||
relativePath: PropTypes.string.isRequired,
|
relativePath: PropTypes.string.isRequired,
|
||||||
quality: PropTypes.object.isRequired,
|
quality: PropTypes.object.isRequired,
|
||||||
|
releaseGroup: PropTypes.string,
|
||||||
customFormats: PropTypes.arrayOf(PropTypes.object).isRequired,
|
customFormats: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
qualityCutoffNotMet: PropTypes.bool.isRequired,
|
||||||
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
|
|||||||
@@ -39,6 +39,11 @@ const columns = [
|
|||||||
label: translate('Quality'),
|
label: translate('Quality'),
|
||||||
isVisible: true
|
isVisible: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'releaseGroup',
|
||||||
|
label: translate('ReleaseGroup'),
|
||||||
|
isVisible: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'quality.customFormats',
|
name: 'quality.customFormats',
|
||||||
label: translate('Formats'),
|
label: translate('Formats'),
|
||||||
|
|||||||
Reference in New Issue
Block a user