diff --git a/src/AppHeijunka.vue b/src/AppHeijunka.vue index 34c87b0..8b50aa8 100644 --- a/src/AppHeijunka.vue +++ b/src/AppHeijunka.vue @@ -19,7 +19,7 @@ import OrderItem from '@/modules/heijkunka/assets/OrderItem.vue' const days = Array.from({ length: NUMBER_OF_DAYS }, (_, i) => i + 1) const hours = Array.from({ length: NUMBER_OF_HOURS_PER_DAY }, (_, i) => i + 1) -const orders = ref( +const planning = ref( Array.from( { length: days.length * hours.length }, (): ProductType => pickRandomElement(['shirt', 'jeans', 'shoes', 'hat']) @@ -56,7 +56,7 @@ const levelingPlanning: ProductType[] = [ 'jeans' ] -const orderIndex = (dayIndex: number, hourIndex: number) => { +const planningIndex = (dayIndex: number, hourIndex: number) => { return dayIndex * hours.length + hourIndex } @@ -121,7 +121,7 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, { day {{ day }}