Open source personal finance application
fix trnForm wallet
ilkome3cb8333a20c2
diff --git a/components/trnForm/TrnForm.vue b/components/trnForm/TrnForm.vueindex f5710201..3947c673 100644--- a/components/trnForm/TrnForm.vue+++ b/components/trnForm/TrnForm.vue@@ -156,7 +156,12 @@ export default {return}- this.showSuccess()+ // @ts-ignore+ this.$notify({+ type: 'success',+ text: 'Excellent transaction!',+ title: random(successEmo)+ })// @ts-ignorethis.$store.dispatch('trns/addTrn', { id, values })}@@ -180,16 +185,6 @@ export default {}},- showSuccess () {- const emo = random(successEmo)- // @ts-ignore- this.$notify({- type: 'success',- text: 'Excellent transaction!',- title: emo- })- },-prepeareValues (isTransfer: boolean): any {let normalizedValues// @ts-ignore@@ -216,7 +211,7 @@ export default {// @ts-ignoretype: Number(this.$store.state.trnForm.values.amountType) || 0,// @ts-ignore- walletId: this.$store.state.trnForm.values.walletFromId+ walletId: this.$store.state.trnForm.values.walletId}}@@ -236,9 +231,9 @@ export default {// @ts-ignorewalletId: this.$store.state.trnForm.values.walletFromId,// @ts-ignore- walletToId: this.$store.state.trnForm.values.walletToId,- // @ts-ignorewalletFromId: this.$store.state.trnForm.values.walletFromId,+ // @ts-ignore+ walletToId: this.$store.state.trnForm.values.walletToId,type: 2,// @ts-ignoredescription: this.$store.state.trnForm.values.description || null,