Fix local page if no anime in folder

This commit is contained in:
Kylart 2019-06-12 23:54:11 +02:00
parent 87778a1dc3
commit 390a067478
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default {
return acc
}, [])
.map((file) => {
file.eps.sort((a, b) => +b - +a)
file.eps && file.eps.length && file.eps.sort((a, b) => +b - +a)
return file
})