webapp: Fix #532: Use correct filename for config backup

This commit is contained in:
Thomas Basler 2023-01-18 22:47:02 +01:00
parent 9f86698dfc
commit 0772fd02aa

View File

@ -201,7 +201,7 @@ export default defineComponent({
var file = window.URL.createObjectURL(blob);
var a = document.createElement('a');
a.href = file;
a.download = "config.json";
a.download = this.backupFileSelect;
document.body.appendChild(a);
a.click();
a.remove();