diff --git a/packages/desktop-client/src/components/accounts/Header.tsx b/packages/desktop-client/src/components/accounts/Header.tsx index e6d3732e914..c45ae73eb1c 100644 --- a/packages/desktop-client/src/components/accounts/Header.tsx +++ b/packages/desktop-client/src/components/accounts/Header.tsx @@ -348,6 +348,27 @@ export function AccountHeader({ onChange={onSearch} inputRef={searchInput} /> + {workingHard ? ( + + + + ) : ( + transactions.find(t => t.id === id)} + onShow={onShowTransactions} + onDuplicate={onBatchDuplicate} + onDelete={onBatchDelete} + onEdit={onBatchEdit} + onLinkSchedule={onBatchLinkSchedule} + onUnlinkSchedule={onBatchUnlinkSchedule} + onCreateRule={onCreateRule} + onSetTransfer={onSetTransfer} + onScheduleAction={onScheduleAction} + showMakeTransfer={showMakeTransfer} + onMakeAsSplitTransaction={onMakeAsSplitTransaction} + onMakeAsNonSplitTransactions={onMakeAsNonSplitTransactions} + /> + )} {account && ( <> @@ -380,27 +401,6 @@ export function AccountHeader({ )} - {workingHard ? ( - - - - ) : ( - transactions.find(t => t.id === id)} - onShow={onShowTransactions} - onDuplicate={onBatchDuplicate} - onDelete={onBatchDelete} - onEdit={onBatchEdit} - onLinkSchedule={onBatchLinkSchedule} - onUnlinkSchedule={onBatchUnlinkSchedule} - onCreateRule={onCreateRule} - onSetTransfer={onSetTransfer} - onScheduleAction={onScheduleAction} - showMakeTransfer={showMakeTransfer} - onMakeAsSplitTransaction={onMakeAsSplitTransaction} - onMakeAsNonSplitTransactions={onMakeAsNonSplitTransactions} - /> - )}