Commit 68061d17 authored by Richard Blechinger's avatar Richard Blechinger
Browse files

Add check for item entries when calculating unspecified durations

parent d745dbe0
......@@ -207,6 +207,10 @@ export default {
},
unknownDurationCount({ item }) {
if (!item.entries) {
return 0
}
return item.entries.filter(entry => !entry.duration).length;
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment