Commit ce2ffe3d authored by muhammad ridwan's avatar muhammad ridwan

Merge branch 'env/ridwan' into 'ENV-DEV-CR-CAFRM'

fixing name download

See merge request !1610
parents 552d21b1 2c87ce68
...@@ -183,7 +183,7 @@ class RepotrCafrm extends Component { ...@@ -183,7 +183,7 @@ class RepotrCafrm extends Component {
let url = window.URL.createObjectURL(res); let url = window.URL.createObjectURL(res);
let a = document.createElement('a'); let a = document.createElement('a');
a.href = url; a.href = url;
a.download = `Progress Report CARFM ${this.state.curYear}-${this.state.curYear}.xlsx`; a.download = `Progress Report CARFM ${this.state.curYear}-${this.state.curMonth}.xlsx`;
a.click(); a.click();
} }
} }
......
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