Skip to content

Commit

Permalink
Fix management app flashing on page init (#2692)
Browse files Browse the repository at this point in the history
* Fix management app flashing on init

* Release notes
  • Loading branch information
joel-jeremy authored May 2, 2024
1 parent 8f543a2 commit 688bfe5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/desktop-client/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ function AppInner({ budgetId, cloudFileId }: AppInnerProps) {
{(initializing || !budgetId) && (
<AppBackground initializing={initializing} loadingText={loadingText} />
)}
{budgetId ? (
<FinancesApp />
) : (
<ManagementApp isLoading={loadingText != null} />
)}
{!initializing &&
(budgetId ? (
<FinancesApp />
) : (
<ManagementApp isLoading={loadingText != null} />
))}

<UpdateNotification />
<MobileWebMessage />
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2692.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [joel-jeremy]
---

Fix budget list / management app flashing on page init.

0 comments on commit 688bfe5

Please sign in to comment.