Make list grouped.

This commit is contained in:
James Cole
2020-06-27 13:32:40 +02:00
parent e1fbdca5c1
commit 3e8a4d55ef
28 changed files with 144 additions and 61 deletions

View File

@@ -831,11 +831,11 @@
selectedSourceAccount: function (index, model) {
console.log('Now in selectedSourceAccount()');
if (typeof model === 'string') {
console.log('model is string.')
//console.log('model is string.')
// cant change types, only name.
this.transactions[index].source_account.name = model;
} else {
console.log('model is NOT string.')
//console.log('model is NOT string.')
this.transactions[index].source_account = {
id: model.id,
name: model.name,