use one Archive instance for state.archive

This commit is contained in:
Danny Coates 2018-12-21 10:27:46 -08:00
parent 989137342b
commit c585c34c01
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
6 changed files with 14 additions and 13 deletions

View file

@ -68,4 +68,8 @@ export default class Archive {
this.files.splice(index, 1);
}
}
clear() {
this.files = [];
}
}