From 2439aef9414850e53c8ea4facb706ce5c1f860c0 Mon Sep 17 00:00:00 2001 From: Patrick Nagurny Date: Wed, 3 Apr 2019 11:30:28 -0400 Subject: [PATCH] fixes #1 new transaction opening balance --- src/app/transaction/new.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/transaction/new.ts b/src/app/transaction/new.ts index f2df285..9e81642 100644 --- a/src/app/transaction/new.ts +++ b/src/app/transaction/new.ts @@ -338,7 +338,7 @@ export class NewTransactionPage { }); let firstAccounts = dataWithLabels.slice(0, this.numAccountsShown); - let nextAccounts = dataWithLabels.slice(this.numAccountsShown); + let nextAccounts = dataWithLabels.slice(); nextAccounts.sort((a, b) => { let aAlpha = a.label.charCodeAt(0) >= 65 && a.label.charCodeAt(0) <= 122;