diff --git a/frontend/src/classic/adminlte.js b/frontend/src/classic/adminlte.js
index 9652e1d87a..120f6d9e83 100644
--- a/frontend/src/classic/adminlte.js
+++ b/frontend/src/classic/adminlte.js
@@ -1,3 +1,23 @@
+/*
+ * adminlte.js
+ * Copyright (c) 2021 james@firefly-iii.org
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ */
+
/*!
* AdminLTE v3.0.5 (https://adminlte.io)
* Copyright 2014-2020 Colorlib
diff --git a/frontend/src/components/store/modules/transactions/create.js b/frontend/src/components/store/modules/transactions/create.js
index 1d7d9c55ff..d8f211a3b2 100644
--- a/frontend/src/components/store/modules/transactions/create.js
+++ b/frontend/src/components/store/modules/transactions/create.js
@@ -69,6 +69,7 @@ const state = () => ({
foreign_currency_id: 0,
// meta data
+ category: null,
budget_id: 0,
bill_id: 0,
piggy_bank_id: 0,
@@ -85,11 +86,17 @@ const state = () => ({
// optional other fields:
internal_reference: null,
external_url: null,
+ external_id: null,
notes: null,
// transaction links:
links: [],
- attachments: []
+ attachments: [],
+
+ // error handling
+ errors: {
+ description: []
+ },
},
}
)
diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vue
index edd3f0faab..68a32f9520 100644
--- a/frontend/src/components/transactions/Create.vue
+++ b/frontend/src/components/transactions/Create.vue
@@ -25,7 +25,7 @@