mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 15:10:54 +03:00
emit complete for blob downloads
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user