Skip to content

Commit

Permalink
Update ScriptLineCueEditor.vue
Browse files Browse the repository at this point in the history
Remove empty line validation
  • Loading branch information
mattg66 authored Dec 9, 2024
1 parent f7aff8e commit 72f33d2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ export default {
return this.cueTypes.find((cueType) => (cueType.id === cue.cue_type_id)).colour;
},
isWholeLineCut(line) {
return line.line_parts.every((linePart) => (this.linePartCuts.includes(linePart.id)
|| linePart.line_text == null || linePart.line_text.trim().length === 0), this);
return line.line_parts.every((linePart) => (this.linePartCuts.includes(linePart.id)), this);
},
...mapActions(['ADD_NEW_CUE', 'EDIT_CUE', 'DELETE_CUE']),
},
Expand Down

0 comments on commit 72f33d2

Please sign in to comment.