Commit e14098b8 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

Merge branch '523-plot-download-file-name' into 'master'

[reports][js] Remove redundant name segment in dowloaded plot filenames

Closes #523

See merge request !283
parents 8d24e57e c40a1dac
Pipeline #30190 passed with stages
in 18 minutes and 2 seconds
......@@ -51,7 +51,7 @@ angular.module('reportApp')
const a = document.getElementById(`${scope.domId}-download`);
a.href = data;
a.download = `${scope.domId}-${scope.itemId}.${ftype.toLowerCase()}`;
a.download = `${scope.domId}.${ftype.toLowerCase()}`;
a.click();
a.href = '';
a.download = '';
......
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