Skip to content

Firefly III: a personal finances manager

Fix #3114

James Cole39cdbc461e9f
diff --git a/resources/assets/js/components/transactions/Budget.vue b/resources/assets/js/components/transactions/Budget.vue
index 89e7f14ccc..74698e42dd 100644
--- a/resources/assets/js/components/transactions/Budget.vue
+++ b/resources/assets/js/components/transactions/Budget.vue
@@ -61,16 +61,12 @@
loadBudgets: function () {
let URI = document.getElementsByTagName('base')[0].href + "json/budgets";
axios.get(URI, {}).then((res) => {
- this.budgets = [
- {
- name: this.no_budget,
- id: 0,
- },
- {
- name: this.no_budget,
- id: null,
- }
- ];
+ this.budgets = [
+ {
+ name: this.no_budget,
+ id: 0,
+ }
+ ];
for (const key in res.data) {
if (res.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
this.budgets.push(res.data[key]);