mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-11 17:16:59 -05:00
mealie importer working with settings
This commit is contained in:
@@ -88,6 +88,10 @@
|
||||
<template v-slot:item.groups="{ item }" v-if="genericModel.model.name == 'UserSpace'">
|
||||
{{ item.groups.flatMap((x: Group) => x.name).join(', ') }}
|
||||
</template>
|
||||
<template v-slot:item.active="{ item }" v-if="genericModel.model.name == 'Space'">
|
||||
<v-chip label v-if="item.id == useUserPreferenceStore().activeSpace.id!" color="success">{{ $t('Active') }}</v-chip>
|
||||
<v-chip label v-else color="info" @click="useUserPreferenceStore().switchSpace(item)">{{ $t('Select') }}</v-chip>
|
||||
</template>
|
||||
<template v-slot:item.action="{ item }">
|
||||
<v-btn class="float-right" icon="$menu" variant="plain">
|
||||
<v-icon icon="$menu"></v-icon>
|
||||
|
||||
@@ -434,6 +434,11 @@
|
||||
<v-checkbox v-model="appImportDuplicates"></v-checkbox>
|
||||
</template>
|
||||
</v-alert>
|
||||
<div v-if="importApp == 'MEALIE1'">
|
||||
<v-checkbox v-model="appImportMealPlans" :label="$t('ImportMealPlans')" hide-details></v-checkbox>
|
||||
<v-checkbox v-model="appImportShoppingLists" :label="$t('ImportShoppingList')" hide-details></v-checkbox>
|
||||
<v-checkbox v-model="appImportNutritionsPerServing" :label="$t('NutritionsPerServing')" :hint="$t('NutritionsPerServingHelp')" persistent-hint></v-checkbox>
|
||||
</div>
|
||||
|
||||
<v-stepper-actions>
|
||||
<template #prev>
|
||||
|
||||
Reference in New Issue
Block a user