mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
space settings
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
|
||||
<v-row>
|
||||
<v-col cols="6" v-for="s in spaces">
|
||||
<v-card>
|
||||
<v-img height="200px" :src="recipeDefaultImage" :alt="$t('Image')"> </v-img>
|
||||
<v-card @click="useUserPreferenceStore().switchSpace(s)">
|
||||
<v-img height="200px" cover :src="(s.image !== undefined) ? s.image?.preview : recipeDefaultImage" :alt="$t('Image')"> </v-img>
|
||||
<v-card-title>{{ s.name }} <v-chip variant="tonal" density="compact" color="error" v-if="s.id == useUserPreferenceStore().activeSpace.id">{{$t('active')}}</v-chip></v-card-title>
|
||||
<v-card-subtitle>{{ $t('created_by') }} {{ s.createdBy.displayName }} </v-card-subtitle>
|
||||
</v-card>
|
||||
|
||||
Reference in New Issue
Block a user