Commit 4a9205c0 authored by Romain DELEAU's avatar Romain DELEAU

guide update

parent 65603e5e
......@@ -131,12 +131,12 @@ export class AppComponent {
}
downloadManual(): void {
const manualUrl = './assets/GuideMakerWeb_v2.0.pdf';
const manualUrl = './assets/GuideMaker_v2.2.pdf';
this.http.get(manualUrl, { responseType: 'blob' }).subscribe((blob: Blob) => {
const url = window.URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'GuideMakerWeb_v2.0.pdf';
a.download = 'GuideMaker_v2.2.pdf';
document.body.appendChild(a);
a.click();
window.URL.revokeObjectURL(url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment