mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
Enable npm workspaces and update dependencies
This commit is contained in:
@@ -42,10 +42,10 @@ const weekdays = computed(() => {
|
||||
};
|
||||
if (dayMapping[getWeekStart()]) {
|
||||
const customOrder = [];
|
||||
const startIndex = daysOrder.indexOf(dayMapping[getWeekStart()]);
|
||||
const startIndex = daysOrder.indexOf(dayMapping[getWeekStart()]!);
|
||||
|
||||
for (let i = startIndex; i < 7 + startIndex; i++) {
|
||||
customOrder.push(daysOrder[i % daysOrder.length]);
|
||||
customOrder.push(daysOrder[i % daysOrder.length]!);
|
||||
}
|
||||
|
||||
return customOrder;
|
||||
|
||||
Reference in New Issue
Block a user