From 86985c4daf836c92f6f2687a6bcef5c092d9c8e1 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Thu, 10 Nov 2022 20:53:09 -0500 Subject: [PATCH] Fix loan creation error --- components/new.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/new.vue b/components/new.vue index 21e50a3..18d62f9 100644 --- a/components/new.vue +++ b/components/new.vue @@ -236,7 +236,7 @@ const newFee = { // Clone loan from initial example as a new loan function create() { this.estimate.loans.push( - Object.assign({}, example, {fees: createFees()}) + Object.assign({}, example, {fees: this.createFees()}) ) }