Fixed: Show Edition naming token in UI

pull/2/head
Qstick 5 years ago
parent 27551e2975
commit f05207580c

@ -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}>
{

Loading…
Cancel
Save