Formatting & remove redundant headline

This commit is contained in:
Jan Bader 2022-01-26 21:33:19 +00:00
parent d5a414266b
commit 430c4d52da
2 changed files with 3 additions and 2 deletions

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}
);
}
}
}