Skip to content

Commit

Permalink
Fix: Render Track content collection only if mixin is set
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Mar 30, 2022
1 parent 603be89 commit 84c9cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Component/Backend.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ prototype(Jonnitto.PrettyEmbedVideo:Component.Backend) < prototype(Neos.Fusion:C

@context.setFirstTrackToDefault = ${this.setFirstTrackToDefault}

@if.render = ${node.context.inBackend}
@if.render = ${node.context.inBackend && q(node).is('[instanceof Jonnitto.PrettyEmbedVideo:Collection.Track]')}
lang = ${Carbon.Backend.translate('lang', 'en', [], 'Main', 'Jonnitto.PrettyEmbedVideo')}

renderer = afx`
Expand Down

0 comments on commit 84c9cba

Please sign in to comment.