Convert frontend to Vue #3

Merged
jacob1123 merged 158 commits from vue into master 2022-02-08 22:20:11 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 430c4d52da - Show all commits

View File

@ -9,7 +9,6 @@ export default {
</script>
<template>
<h1>Budget</h1>
<h1>
<router-link to="/dashboard"></router-link>
{{$store.getters.CurrentBudget.Name}}

View File

@ -34,12 +34,14 @@ export default {
let formData = new FormData();
formData.append("transactions", this.$data.transactionsFile);
formData.append("assignments", this.$data.assignmentsFile);
fetch('/api/v1/budget/'+this.$store.getters.CurrentBudget.ID+"/import/ynab", {
method: "POST",
headers: {
'Authorization': 'Bearer ' + this.$store.state.Session.Token
},
body: formData});
body: formData}
);
}
}
}