Fix ability to rename budget in the UI (#2383)

This commit is contained in:
DJ Mountney
2024-02-20 11:04:54 -08:00
committed by GitHub
parent e1f805b9c9
commit 45c4b262a2
2 changed files with 7 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ function EditableBudgetName() {
const inputEl = e.target as HTMLInputElement;
const newBudgetName = inputEl.value;
if (newBudgetName.trim() !== '') {
setBudgetNamePref(inputEl.name);
setBudgetNamePref(newBudgetName);
setEditing(false);
}
}}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [twk3]
---
Fix ability to rename budget in the UI.