This commit is contained in:
Peter Maquiran
2022-12-21 12:25:31 +01:00
parent 3b14ddea4b
commit 934eaa0a97
3 changed files with 321 additions and 214 deletions
-1
View File
@@ -181,7 +181,6 @@ export class AuthService {
if (event.type === HttpEventType.DownloadProgress) {
//this.downloadProgess = Math.round((100 * event.loaded) / event.total);
//
return true
} else if (event.type === HttpEventType.Response) {
downloadFile = 'data:image/jpeg;base64,' + btoa(new Uint8Array(event.body).reduce((data, byte) => data + String.fromCharCode(byte), ''));