prune: remove validate planning
This commit is contained in:
@@ -124,7 +124,6 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
|
|||||||
v-model="orders[orderIndex(dayIndex, hourIndex)]"
|
v-model="orders[orderIndex(dayIndex, hourIndex)]"
|
||||||
:name="`day-${day}-hour-${hour}`"
|
:name="`day-${day}-hour-${hour}`"
|
||||||
:id="`day-${day}-hour-${hour}`"
|
:id="`day-${day}-hour-${hour}`"
|
||||||
:disabled="heijunkaStore.validatedPlanning"
|
|
||||||
>
|
>
|
||||||
<option value="shirt">Shirt</option>
|
<option value="shirt">Shirt</option>
|
||||||
<option value="jeans">Jeans</option>
|
<option value="jeans">Jeans</option>
|
||||||
@@ -138,19 +137,7 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="commands">
|
<section class="commands">
|
||||||
<button
|
<button class="button-outline" @click="heijunkaStore.newHour()">
|
||||||
v-if="!heijunkaStore.validatedPlanning"
|
|
||||||
class="button-outline"
|
|
||||||
@click="heijunkaStore.validatePlanning(orders)"
|
|
||||||
>
|
|
||||||
validate planning
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
v-else-if="!heijunkaStore.gameEnded"
|
|
||||||
class="button-outline"
|
|
||||||
@click="heijunkaStore.newHour()"
|
|
||||||
:disabled="!heijunkaStore.validatedPlanning"
|
|
||||||
>
|
|
||||||
next hour
|
next hour
|
||||||
<!--
|
<!--
|
||||||
<svg
|
<svg
|
||||||
@@ -370,4 +357,10 @@ li {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user