Mercurial > gemma
changeset 4393:cdd332dbebbf
Fixed date in filename for stretch download.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 12 Sep 2019 20:24:03 +0200 |
parents | 024b16a1c253 |
children | def4b06cd0a4 |
files | client/src/components/stretches/Stretches.vue |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/stretches/Stretches.vue Thu Sep 12 20:08:29 2019 +0200 +++ b/client/src/components/stretches/Stretches.vue Thu Sep 12 20:24:03 2019 +0200 @@ -152,7 +152,7 @@ const link = document.createElement("a"); const now = new Date(); link.href = window.URL.createObjectURL(response.data); - link.download = `${name}-${format(now, "YYYY-mm-DD")}.zip`; + link.download = `${name}-${format(now, "YYYY-MM-DD")}.zip`; document.body.appendChild(link); link.click(); document.body.removeChild(link);