Skip to content
Snippets Groups Projects
Unverified Commit 317e7f13 authored by DJ Mountney's avatar DJ Mountney Committed by GitHub
Browse files

:bug: Avoid passing a boolean to the import trans category title (#2278)

* Avoid passing a boolean to the import trans category title

- Fixes an error regading passing false to title
  when category is not available
parent 5adb0835
No related branches found
No related tags found
No related merge requests found
...@@ -376,7 +376,9 @@ function Transaction({ ...@@ -376,7 +376,9 @@ function Transaction({
<Field <Field
width="flex" width="flex"
title={ title={
categoryList.includes(transaction.category) && transaction.category categoryList.includes(transaction.category)
? transaction.category
: undefined
} }
> >
{categoryList.includes(transaction.category) && transaction.category} {categoryList.includes(transaction.category) && transaction.category}
......
---
category: Bugfix
authors: [twk3]
---
Fix 'false' passed as title in import transactions modal
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment