Fixed: Show Edition naming token in UI

This commit is contained in:
Qstick 2020-02-22 16:57:34 -05:00
parent 27551e2975
commit f05207580c
1 changed files with 26 additions and 0 deletions

View File

@ -148,6 +148,10 @@ class NamingModal extends Component {
{ token: '{Release Group}', example: 'Rls Grp' }
];
const editionTokens = [
{ token: '{Edition Tags}', example: 'IMAX' }
];
const originalTokens = [
{ token: '{Original Title}', example: 'Movie.Title.HDTV.x264-EVOLVE' },
{ token: '{Original Filename}', example: 'Movie.title.hdtv.x264-EVOLVE' }
@ -322,6 +326,28 @@ class NamingModal extends Component {
</div>
</FieldSet>
<FieldSet legend="Edition">
<div className={styles.groups}>
{
editionTokens.map(({ token, example }) => {
return (
<NamingOption
key={token}
name={name}
value={value}
token={token}
example={example}
tokenSeparator={tokenSeparator}
tokenCase={tokenCase}
onPress={this.onOptionPress}
/>
);
}
)
}
</div>
</FieldSet>
<FieldSet legend="Original">
<div className={styles.groups}>
{