mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 13:35:23 +02:00
fix: Mealplan Regressions (#5748)
This commit is contained in:
parent
108ac40b22
commit
aafed68964
2 changed files with 25 additions and 25 deletions
|
@ -5,7 +5,6 @@
|
|||
:close-on-content-click="false"
|
||||
transition="scale-transition"
|
||||
offset-y
|
||||
max-width="290px"
|
||||
min-width="auto"
|
||||
>
|
||||
<template #activator="{ props }">
|
||||
|
@ -20,29 +19,26 @@
|
|||
{{ $d(weekRange.start, "short") }} - {{ $d(weekRange.end, "short") }}
|
||||
</v-btn>
|
||||
</template>
|
||||
<v-date-picker
|
||||
v-model="state.range"
|
||||
hide-header
|
||||
:multiple="'range'"
|
||||
:first-day-of-week="firstDayOfWeek"
|
||||
:local="$i18n.locale"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="numberOfDays"
|
||||
type="number"
|
||||
:label="$t('meal-plan.numberOfDays-label')"
|
||||
:hint="$t('meal-plan.numberOfDays-hint')"
|
||||
persistent-hint
|
||||
|
||||
<v-card>
|
||||
<v-date-picker
|
||||
v-model="state.range"
|
||||
hide-header
|
||||
:multiple="'range'"
|
||||
:first-day-of-week="firstDayOfWeek"
|
||||
:local="$i18n.locale"
|
||||
/>
|
||||
<v-spacer />
|
||||
<v-btn
|
||||
variant="text"
|
||||
color="primary"
|
||||
@click="state.picker = false"
|
||||
>
|
||||
{{ $t("general.ok") }}
|
||||
</v-btn>
|
||||
</v-date-picker>
|
||||
|
||||
<v-card-text>
|
||||
<v-text-field
|
||||
v-model="numberOfDays"
|
||||
type="number"
|
||||
:label="$t('meal-plan.numberOfDays-label')"
|
||||
:hint="$t('meal-plan.numberOfDays-hint')"
|
||||
persistent-hint
|
||||
/>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-menu>
|
||||
|
||||
<div class="d-flex flex-wrap align-center justify-space-between mb-2">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue