|
|
@@ -171,7 +171,7 @@ export function getDuration (node) {
|
|
|
return node.widgets.reduce((duration, widget) => {
|
|
|
switch (widget.type) {
|
|
|
case imageType:
|
|
|
- return widget.sources.length > 1 ? Math.max(widget.sources.length * widget.interval, duration) : duration
|
|
|
+ return Math.max(widget.sources.length * widget.interval, duration)
|
|
|
case videoType:
|
|
|
return Math.max(widget.sources.reduce((total, { duration }) => duration ? total + duration : total, 0), duration)
|
|
|
case liveType:
|