feat: ui fixes & backup link on onboarding screen (#7743)

This commit is contained in:
Arsène Reymond
2026-07-17 20:41:35 +02:00
committed by GitHub
parent 7092497cd2
commit 4eae486908
16 changed files with 67 additions and 75 deletions

View File

@@ -18,13 +18,11 @@
bordered
>
<v-btn
class="rounded-circle"
size="small"
color="info"
variant="text"
v-bind="activatorProps"
icon
:prepend-icon="$globals.icons.filter"
>
<v-icon> {{ $globals.icons.filter }} </v-icon>
{{ $t("general.filter") }}
</v-btn>
</v-badge>
</template>
@@ -39,28 +37,24 @@
<v-list-item
v-for="option, idx in eventTypeFilterState"
:key="idx"
:active="option.checked"
:color="option.checked ? 'primary' : undefined"
@click="toggleEventTypeOption(option.value)"
>
<v-checkbox
:model-value="option.checked"
color="primary"
readonly
hide-details
@click="toggleEventTypeOption(option.value)"
>
<template #label>
<v-icon start>
{{ option.icon }}
</v-icon>
{{ option.label }}
</template>
</v-checkbox>
<template #prepend>
<v-icon>
{{ option.icon }}
</v-icon>
</template>
<v-list-item-title>
{{ option.label }}
</v-list-item-title>
</v-list-item>
</v-list>
</v-card>
</v-menu>
</v-col>
</v-row>
<v-divider class="mx-2" />
<div
v-if="timelineEvents.length"
id="timeline-container"
@@ -213,7 +207,10 @@ async function deleteTimelineEvent(index: number) {
}
async function getRecipes(recipeIds: string[]): Promise<Recipe[]> {
const qf = "id IN [" + recipeIds.map(id => `"${id}"`).join(", ") + "]";
let qf = "";
if (recipeIds.length) {
qf = "id IN [" + recipeIds.map(id => `"${id}"`).join(", ") + "]";
}
const { data } = await api.recipes.getAll(1, -1, { queryFilter: qf });
return data?.items || [];
}