Rebuild JS

This commit is contained in:
James Cole
2024-02-26 20:08:14 +01:00
parent 647179cd3c
commit e0a89bb5fe
40 changed files with 77 additions and 11 deletions

View File

@@ -746,13 +746,15 @@ export default {
case 'budget_id':
case 'bill_id':
case 'description':
case 'type':
this.transactions[transactionIndex].errors.source_account = [this.$t('firefly.select_source_account')];
this.transactions[transactionIndex].errors.destination_account = [this.$t('firefly.select_dest_account')];
break;
case 'tags':
this.transactions[transactionIndex].errors[fieldName] = errors.errors[key];
break;
case 'type':
if(errors.errors[key].length > 0) {
this.transactions[transactionIndex].errors.source_account = [this.$t('firefly.select_source_account')];
this.transactions[transactionIndex].errors.destination_account = [this.$t('firefly.select_dest_account')];
}
break;
case 'source_name':
case 'source_id':
this.transactions[transactionIndex].errors.source_account =