This commit is contained in:
James Cole
2019-08-27 07:17:22 +02:00
parent 49fc6fbd38
commit e37abeb36d
2 changed files with 6 additions and 3 deletions

View File

@@ -138,12 +138,15 @@
}
},
selectedItem: function (e) {
console.log('selectedItem()');
//console.log('In SelectedItem()');
if (typeof this.name === 'undefined') {
//console.log('Is undefined');
return;
}
if(typeof this.name === 'string') {
console.log('Is a string.');
//console.log('Is a string.');
//this.trType = null;
this.$emit('clear:value');
}
// emit the fact that the user selected a type of account
// (influencing the destination)