A local-first personal finance app
[AI] Fix mobile bank sync indicators not updating during sync (#7784)
Matiss Janis Aboltinsd9308c147463
diff --git a/packages/desktop-client/src/accounts/mutations.ts b/packages/desktop-client/src/accounts/mutations.tsindex fef712aa35..6581cc5633 100644--- a/packages/desktop-client/src/accounts/mutations.ts+++ b/packages/desktop-client/src/accounts/mutations.ts@@ -633,6 +633,8 @@ export function useSyncAccountsMutation() {accountIdsToSync = accountIdsToSync.filter(id => !simpleFinAccounts.find(sfa => sfa.id === id),);++ dispatch(setAccountsSyncing({ ids: accountIdsToSync }));}// Loop through the accounts and perform sync operation.. one by onediff --git a/packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx b/packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsxindex 75b172b087..a46bc1ea24 100644--- a/packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx+++ b/packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx@@ -466,6 +466,7 @@ const AccountList = forwardRef<HTMLDivElement, AccountListProps>(<ListBoxaria-label={ariaLabel}items={accounts}+ dependencies={[syncingAccountIds, failedAccounts, updatedAccounts]}dragAndDropHooks={dragAndDropHooks}ref={ref}style={{diff --git a/upcoming-release-notes/7784.md b/upcoming-release-notes/7784.mdnew file mode 100644index 0000000000..c880e5db62--- /dev/null+++ b/upcoming-release-notes/7784.md@@ -0,0 +1,6 @@+---+category: Bugfixes+authors: [MatissJanis]+---++Fix mobile bank sync indicators not updating live during sync.