diff --git a/plugins/qlab/cue.ejs b/plugins/qlab/cue.ejs index b887359..12fcbc7 100644 --- a/plugins/qlab/cue.ejs +++ b/plugins/qlab/cue.ejs @@ -33,22 +33,20 @@ <% for(let i=cue.nestedGroupModes.length; i>0; i--){ %> - <% let test = "" %> - <% if(cue.type=="Group" && i==1 && cue.cues.length==0){ %> - <%= test %> + <% }else if(cue.type=="Group" && i==1){ %> - <%= test %> + <% }else if(cue.nestedGroupPosition[i-1]==0 && cue.nestedGroupPosition[i-2]==0){ %> - <%= test %> + <% }else if(i==1 && cue.nestedGroupPosition[i]==0){ %> - <%= test %> + <% }else{ %> - <%= test %> + <% } %>