improve experience when importing multiple recipes

This commit is contained in:
vabene1111
2022-04-22 20:19:39 +02:00
parent 3cf0395a18
commit 1740913a14
3 changed files with 107 additions and 37 deletions

View File

@ -24,7 +24,7 @@
<b-card-text style="text-overflow: ellipsis">
<template v-if="recipe !== null">
<recipe-rating :recipe="recipe"></recipe-rating>
<template v-if="recipe.description !== null">
<template v-if="recipe.description !== null && recipe.description !== undefined">
<span v-if="recipe.description.length > text_length">
{{ recipe.description.substr(0, text_length) + "\u2026" }}
</span>