Skip to content

Commit

Permalink
fix: change hasValidItemCount condition
Browse files Browse the repository at this point in the history
  • Loading branch information
KumJungMin committed Dec 1, 2024
1 parent 1be7b68 commit a831edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/carousel/Carousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export default {
return this.orientation === 'vertical';
},
hasValidItemCount() {
return this.value && this.value.length >= this.d_numVisible;
return this.value && this.value.length > this.d_numVisible;
},
isCircular() {
return this.hasValidItemCount() && this.d_circular;
Expand Down

0 comments on commit a831edf

Please sign in to comment.