mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-08 15:48:27 -05:00
small fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<v-col :cols="props.cols" :md="props.md" :lg="props.lg">
|
||||
<v-card :prepend-icon="props.prependIcon" :title="props.title" :subtitle="props.subtitle" variant="outlined" elevation="1"
|
||||
<v-card :prepend-icon="props.prependIcon" :title="props.title" :subtitle="props.subtitle"
|
||||
:to="props.to" :link="isLink" :href="props.href"
|
||||
append-icon="fa-solid fa-arrow-right">
|
||||
</v-card>
|
||||
@@ -28,7 +28,7 @@ const props = defineProps({
|
||||
|
||||
|
||||
const isLink = computed(() => {
|
||||
return props.href != '' && props.to == undefined
|
||||
return props.href != '' || props.to != undefined
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<v-col cols="12" md="6" lg="4">
|
||||
<v-card :prepend-icon="genericModel.model.icon" :title="$t(genericModel.model.localizationKey)" :subtitle="$t(genericModel.model.localizationKeyDescription)" variant="outlined" elevation="1"
|
||||
<v-card :prepend-icon="genericModel.model.icon" :title="$t(genericModel.model.localizationKey)" :subtitle="$t(genericModel.model.localizationKeyDescription)"
|
||||
:to="{name: 'ModelListPage', params: {model: genericModel.model.name}}"
|
||||
append-icon="fa-solid fa-arrow-right">
|
||||
</v-card>
|
||||
|
||||
Reference in New Issue
Block a user