-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
Hey guys, great tutorial!!
I have noticed that L9-Start , which should have the finished code of L8, on main.js line 30 it doesn't have the right value on the computed property inStock(). It is set to look for the property image
instead of quantity
This might be confusing and frustrating for some users that need to compare their code with finished code and also, doesn't allow starting the lesson with fully working code.
https://github.com/Code-Pop/Intro-to-Vue-3/tree/L9-start
Current code:
inStock() {
return this.variants[this.selectedVariant].image
}
Correct code:
inStock() {
return this.variants[this.selectedVariant].quantity
}
Is there any way to contribute to the repo?
thanks
michaelbutler, frodrisan, pebaha- and Syns369
Metadata
Metadata
Assignees
Labels
No labels