File tree Expand file tree Collapse file tree
src/views/mobile/transactions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -830,7 +830,8 @@ function setTransactionMonthListHeights(reset: boolean): Promise<unknown> {
830830 if (transactions .value && transactions .value .length ) {
831831 const heights: Record <string , number > = getElementActualHeights (' .transaction-month-list' );
832832
833- for (const transactionMonthList of transactions .value ) {
833+ for (let i = 0 ; i < transactions .value .length - 1 ; i ++ ) {
834+ const transactionMonthList = transactions .value [i ] as TransactionMonthList ;
834835 const yearDashMonth = transactionMonthList .yearDashMonth ;
835836 const domId = getTransactionMonthListDomId (yearDashMonth );
836837 const height = heights [domId ];
@@ -848,7 +849,8 @@ function setTransactionInvisibleYearMonthList(): void {
848849 return ;
849850 }
850851
851- for (const transactionMonthList of transactions .value ) {
852+ for (let i = 0 ; i < transactions .value .length - 1 ; i ++ ) {
853+ const transactionMonthList = transactions .value [i ] as TransactionMonthList ;
852854 const yearDashMonth = transactionMonthList .yearDashMonth ;
853855
854856 const titleDomId = getTransactionMonthTitleDomId (yearDashMonth );
You can’t perform that action at this time.
0 commit comments