Skip to content

Commit

Permalink
fix(product detail): avoid eror message flickr before loading
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 12, 2024
1 parent 096097b commit 78f7092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ProductDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default {
return this.productIsCategory && !!this.getCategory
},
productOrCategoryNotFound() {
return this.productNotFound || this.categoryNotFound
return !this.loading && (this.productNotFound || this.categoryNotFound)
}
},
methods: {
Expand Down

0 comments on commit 78f7092

Please sign in to comment.