Fix issue #3
This commit is contained in:
parent
8a5450c40c
commit
9813796a5d
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-flex xs12>
|
<v-flex xs12>
|
||||||
<ErrorDialog :v-model="error" :description="$t('error.title')" />
|
<ErrorDialog v-model="error" :description="$t('error.title')" />
|
||||||
|
|
||||||
<h2 v-if="recipe">{{ $t('new.edit_recipe') }}</h2>
|
<h2 v-if="recipe">{{ $t('new.edit_recipe') }}</h2>
|
||||||
<h2 v-else>{{ $t('new.add_manually') }}</h2>
|
<h2 v-else>{{ $t('new.add_manually') }}</h2>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
description: String,
|
description: String,
|
||||||
value: [Error, Boolean],
|
value: Error,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
error: {
|
error: {
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<v-container fluid grid-list-md>
|
<v-container fluid grid-list-md>
|
||||||
<Loader v-if="isLoading"></Loader>
|
<Loader v-if="isLoading"></Loader>
|
||||||
<v-layout row wrap v-else>
|
<v-layout row wrap v-else>
|
||||||
<ErrorDialog :v-model="error" :description="$t('error.unable_load_recipes')" />
|
<ErrorDialog v-model="error" :description="$t('error.unable_load_recipes')" />
|
||||||
|
|
||||||
<v-flex xs12 v-if="!recipes.length" class="text-xs-center">
|
<v-flex xs12 v-if="!error && !recipes.length" class="text-xs-center">
|
||||||
<p>{{ $t('home.onboarding') }}</p>
|
<p>{{ $t('home.onboarding') }}</p>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
<v-flex
|
<v-flex
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
<v-container grid-list-md class="panel">
|
<v-container grid-list-md class="panel">
|
||||||
<Loader v-if="isLoading"></Loader>
|
<Loader v-if="isLoading"></Loader>
|
||||||
<v-layout row v-else>
|
<v-layout row v-else>
|
||||||
<ErrorDialog :v-model="errorDelete" :description="$t('error.unable_delete_recipe')" />
|
<ErrorDialog v-model="errorDelete" :description="$t('error.unable_delete_recipe')" />
|
||||||
<ErrorDialog :v-model="errorFetch" :description="$t('error.unable_fetch_recipe')" />
|
<ErrorDialog v-model="errorFetch" :description="$t('error.unable_fetch_recipe')" />
|
||||||
<ErrorDialog :v-model="errorRefetch" :description="$t('error.unable_refetch_recipe')" />
|
<ErrorDialog v-model="errorRefetch" :description="$t('error.unable_refetch_recipe')" />
|
||||||
|
|
||||||
<v-dialog v-model="refetchConfirm" max-width="500px">
|
<v-dialog v-model="refetchConfirm" max-width="500px">
|
||||||
<v-card>
|
<v-card>
|
||||||
|
Loading…
Reference in New Issue
Block a user