emit complete for blob downloads

This commit is contained in:
Danny Coates 2018-09-04 11:08:44 -07:00
parent 353fab8486
commit df1c4ef913
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -103,6 +103,7 @@ export default class FileReceiver extends Nanobus {
});
}
this.msg = 'downloadFinish';
this.emit('complete');
this.state = 'complete';
} catch (e) {
this.downloadRequest = null;