Skip to content

Commit 5b04682

Browse files
committed
Fix line heading fix in cue config page
1 parent 2b85f70 commit 5b04682

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

client/src/vue_components/show/config/cues/ScriptLineCueEditor.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
{{ characterGroups.find((char) => (char.id === part.character_group_id)).name }}
7979
</b>
8080
</template>
81-
<b v-else>&nbsp;</b>
81+
<b v-else-if="needsHeadingsAny">&nbsp;</b>
8282
<p
8383
class="viewable-line"
8484
:class="{'cut-line-part': linePartCuts.indexOf(part.id) !== -1}"
@@ -356,6 +356,9 @@ export default {
356356
}, this);
357357
return ret;
358358
},
359+
needsHeadingsAny() {
360+
return this.needsHeadings.some((x) => (x === true));
361+
},
359362
needsActSceneLabel() {
360363
if (this.previousLine == null) {
361364
return true;

0 commit comments

Comments
 (0)