don't render expired uploads

This commit is contained in:
Danny Coates 2018-11-16 12:30:15 -08:00
parent 9989f944c3
commit 32a55d00b2
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 26 additions and 12 deletions

View file

@ -18,6 +18,7 @@ module.exports = function(state, emit) {
}
const archives = state.storage.files
.filter(archive => !archive.expired)
.map(archive => archiveTile(state, emit, archive))
.reverse();