mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
Fix some submit issues.
This commit is contained in:
@@ -70,7 +70,9 @@
|
||||
<div class="text-xs d-none d-lg-block d-xl-block">
|
||||
|
||||
</div>
|
||||
<button class="btn btn-outline-primary btn-block" @click="addTransaction"><i class="far fa-clone"></i> {{ $t('firefly.add_another_split') }}
|
||||
<button type="button" class="btn btn-outline-primary btn-block" @click="addTransactionArray"><i class="far fa-clone"></i> {{
|
||||
$t('firefly.add_another_split')
|
||||
}}
|
||||
</button>
|
||||
</div>
|
||||
<div class="col">
|
||||
@@ -224,6 +226,10 @@ export default {
|
||||
'resetTransactions',
|
||||
]
|
||||
),
|
||||
addTransactionArray: function (event) {
|
||||
event.preventDefault();
|
||||
this.addTransaction();
|
||||
},
|
||||
/**
|
||||
* Removes a split from the array.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user