Note the code:
Notice that the application is working perfectly, by clicking on any address it is automatically directed to the Google page because of that method just below;
methods: {
showLink: function(bancodedado) {
window.open('http://www.google.com/?q=');
}
},
What I want to do is to only be directed to the Google page when he clicks the record that has this specific email [email protected]
I tried it that way, but I was not successful:
methods: {
showLink: function(bancodedado) {
if (this.bancodedado.email == '[email protected]') {
window.open('http://www.google.com/?q=');
}
}
How could I do this implementation?