Commit 7482709b authored by ext.sopra.ncastejon's avatar ext.sopra.ncastejon
Browse files

Fix the file name when download a resource.

parent 9aaf47b3
Pipeline #3393 failed with stages
in 53 seconds
{
"name": "webapp",
"version": "2.4.0",
"version": "2.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -33,7 +33,7 @@ export class ResourceCustomDownloadableComponent implements OnInit {
}
saveFile(format: Format) {
saveAs(this.getQueryableUrl(format), `${this.resource.name}.${format.fileExtension}`);
saveAs(this.getQueryableUrl(format), `${this.resource.metadataLink.name}.${format.fileExtension}`);
this._notificationService.notify(
{
type: 'success',
......
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