Formatting & remove redundant headline
This commit is contained in:
parent
d5a414266b
commit
430c4d52da
@ -9,7 +9,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<h1>Budget</h1>
|
|
||||||
<h1>
|
<h1>
|
||||||
<router-link to="/dashboard">⌂</router-link>
|
<router-link to="/dashboard">⌂</router-link>
|
||||||
{{$store.getters.CurrentBudget.Name}}
|
{{$store.getters.CurrentBudget.Name}}
|
||||||
|
@ -34,12 +34,14 @@ export default {
|
|||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append("transactions", this.$data.transactionsFile);
|
formData.append("transactions", this.$data.transactionsFile);
|
||||||
formData.append("assignments", this.$data.assignmentsFile);
|
formData.append("assignments", this.$data.assignmentsFile);
|
||||||
|
|
||||||
fetch('/api/v1/budget/'+this.$store.getters.CurrentBudget.ID+"/import/ynab", {
|
fetch('/api/v1/budget/'+this.$store.getters.CurrentBudget.ID+"/import/ynab", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': 'Bearer ' + this.$store.state.Session.Token
|
'Authorization': 'Bearer ' + this.$store.state.Session.Token
|
||||||
},
|
},
|
||||||
body: formData});
|
body: formData}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user