We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0855eeb commit d874a53Copy full SHA for d874a53
src/applications/content-entries-app/entry/entry-captions/entry-captions-widget.service.ts
@@ -471,7 +471,7 @@ export class EntryCaptionsWidget extends EntryWidget implements OnDestroy {
471
} else {
472
// keep non closed captions
473
const nonClosedCaptionsStreams = data.streams.filter(stream => stream.type !== 'closedCaptions'); // remove any closedCaptions streams
474
- data.streams = nonClosedCaptionsStreams.length ? [...nonClosedCaptionsStreams] : null;
+ data.streams = nonClosedCaptionsStreams.length ? [...nonClosedCaptionsStreams] : [];
475
}
476
477
0 commit comments