Skip to content

Commit

Permalink
fix(VCalendar): remove default sorting of weekdays (#19205)
Browse files Browse the repository at this point in the history
  • Loading branch information
hareland committed Feb 21, 2024
1 parent 1407128 commit dd007f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/labs/VCalendar/VCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const VCalendar = genericComponent<VCalendarSlots>()({
>
{ !props.hideWeekNumber ? <div key="weekNumber0" class="v-calendar-weekly__head-weeknumber"></div> : '' }
{
props.weekdays.sort((a, b) => a - b).map(weekday => (
props.weekdays.map(weekday => (
<div class={ `v-calendar-weekly__head-weekday${!props.hideWeekNumber ? '-with-weeknumber' : ''}` }>
{ dayNames[weekday] }
</div>
Expand Down

0 comments on commit dd007f9

Please sign in to comment.