Commit c40a1dac authored by Jaden's avatar Jaden
Browse files

[reports][js] remove redundant name seg in plot filename

The `plot_x` name segment in filenames of downloaded
plot images was duplicated

Closes #523
parent 8d24e57e
Pipeline #30145 passed with stage
in 16 minutes and 37 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