currently I stuck on a problem for several hours. Sadly I haven't found a working solution on this by googling around the world.
The problem is, that I cant't access the "self" or "this" variable inside the same function after pulling the data from an api. I am just getting an 'undefined'.
getInvoice(){
  var self = this
  axios
    .get(url)
    .then(response => (self.invoice = response.data.data))
  console.log(self.invoice.invoice_nr) //undefined
},
Best regards and thanks in advance.
 
    