diff --git a/src/store/getters.ts b/src/store/getters.ts index 7ddaa299..3f542bbc 100644 --- a/src/store/getters.ts +++ b/src/store/getters.ts @@ -26,7 +26,7 @@ export default { .map(getters.getTorrent) .filter(torrent => torrent !== undefined) .map(torrent => torrent.size) - .reduce((partialSum, newVal) => partialSum + newVal) + .reduce((partialSum, newVal) => partialSum + newVal, 0) return i18n .tc('dashboard.selectedTorrentsCount', state.filteredTorrentsCount)