Skip to content

Firefly III: a personal finances manager

Fix #4562

James Colebc6a2c2cca28
diff --git a/changelog.md b/changelog.md
index e5f14aed29..cd292fb7ea 100644
--- a/changelog.md
+++ b/changelog.md
@@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #4547 Call to bad function breaks several report.
- #4545 Migration error in some cases, fixed with an if-statement.
- #4557 LDAP configuration error in Docker image.
+- #4562 Hidden budgets were visible in v2.
### Security
- Initial release.
diff --git a/frontend/src/components/transactions/TransactionBudget.vue b/frontend/src/components/transactions/TransactionBudget.vue
index c3d7c8c827..06402ee957 100644
--- a/frontend/src/components/transactions/TransactionBudget.vue
+++ b/frontend/src/components/transactions/TransactionBudget.vue
@@ -77,6 +77,9 @@ export default {
for (let key in data.data) {
if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
let current = data.data[key];
+ if(!current.attributes.active) {
+ continue;
+ }
this.budgetList.push(
{
id: parseInt(current.id),