Skip to content
Snippets Groups Projects
Unverified Commit 43ebe9e0 authored by youngcw's avatar youngcw Committed by GitHub
Browse files

fix bad account sort order in demo (#2279)

* fix bad sort order in demo

* note

* add async back

* fix tests

* fix2

* fix3

* update vrt

* fix image
parent 515bdf5a
No related branches found
No related tags found
No related merge requests found
Showing
with 12 additions and 7 deletions
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -589,13 +589,12 @@ export async function createTestBudget(handlers: Handlers) { ...@@ -589,13 +589,12 @@ export async function createTestBudget(handlers: Handlers) {
{ name: 'House Asset', offBudget: true }, { name: 'House Asset', offBudget: true },
{ name: 'Roth IRA', offBudget: true }, { name: 'Roth IRA', offBudget: true },
]; ];
await runMutator(() =>
batchMessages(async () => { await runMutator(async () => {
for (const account of accounts) { for (const account of accounts) {
account.id = await handlers['account-create'](account); account.id = await handlers['account-create'](account);
} }
}), });
);
const payees: Array<MockPayeeEntity> = [ const payees: Array<MockPayeeEntity> = [
{ name: 'Starting Balance' }, { name: 'Starting Balance' },
......
---
category: Bugfix
authors: [youngcw]
---
Fix same account sort_order when creating a demo budget
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