A local-first personal finance app
fix: reconcile select number on click (#5373)
Koen van Staveren9281acb819e4
diff --git a/packages/desktop-client/src/components/accounts/Reconcile.tsx b/packages/desktop-client/src/components/accounts/Reconcile.tsxindex defd02163c..7fd504eb2c 100644--- a/packages/desktop-client/src/components/accounts/Reconcile.tsx+++ b/packages/desktop-client/src/components/accounts/Reconcile.tsx@@ -170,13 +170,15 @@ export function ReconcileMenu({reconcile with:</Trans></Text>- <InitialFocus>- <Input- value={inputValue ?? ''}- onChangeValue={setInputValue}- style={{ margin: '7px 0' }}- />- </InitialFocus>+ {inputValue && (+ <InitialFocus>+ <Input+ value={inputValue}+ onChangeValue={setInputValue}+ style={{ margin: '7px 0' }}+ />+ </InitialFocus>+ )}{lastSyncedBalance != null && (<View><Text>diff --git a/upcoming-release-notes/5373.md b/upcoming-release-notes/5373.mdnew file mode 100644index 0000000000..a876580fe9--- /dev/null+++ b/upcoming-release-notes/5373.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [UnderKoen]+---++On initial click for reconcile selection of value