refactor: misc tweaks for types, lint, etc

This commit is contained in:
2023-03-19 18:29:02 -06:00
parent c7fa6823bc
commit 4cec3859ea
3 changed files with 7 additions and 11 deletions

View File

@@ -310,7 +310,6 @@ export default class AccountViewView extends Vue {
const blob = await db.export({ prettyJson: true });
const url = URL.createObjectURL(blob);
console.log("typeof", typeof this.$refs.downloadLink);
const downloadAnchor = this.$refs.downloadLink as HTMLAnchorElement;
downloadAnchor.href = url;
downloadAnchor.download = db.name + "-backup.json";