emit complete for blob downloads
This commit is contained in:
parent
353fab8486
commit
df1c4ef913
|
@ -103,6 +103,7 @@ export default class FileReceiver extends Nanobus {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.msg = 'downloadFinish';
|
this.msg = 'downloadFinish';
|
||||||
|
this.emit('complete');
|
||||||
this.state = 'complete';
|
this.state = 'complete';
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.downloadRequest = null;
|
this.downloadRequest = null;
|
||||||
|
|
Loading…
Reference in New Issue