Or you could simplify the computed property definition using parenthesis, so you will keep the application’s context:

 borrowingHistroy() {
   return userData[this.userId].borrowingHistory
 }

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top