зеркало из https://github.com/nextcloud/cookbook.git
Replace checkmark with strikethrough for recipe ingredients
Signed-off-by: Johannes Roth <git@jrcloud.de> Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
0f30c968cd
Коммит
78c985c71d
|
@ -15,6 +15,8 @@
|
|||
[#1866](https://github.com/nextcloud/cookbook/pull/1866) @seyfeb
|
||||
- Allow editing existing recipe as new (see [1867](https://github.com/nextcloud/cookbook/issues/1867))
|
||||
[#1866](https://github.com/nextcloud/cookbook/pull/1866) @seyfeb
|
||||
- Replace checkmark with strikethrough for recipe ingredients
|
||||
[#1908](https://github.com/nextcloud/cookbook/pull/1908) @j0hannesr0th
|
||||
|
||||
### Fixed
|
||||
- Fix translation string to not contain quotes
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
@click="toggleDone"
|
||||
>
|
||||
<div class="ingredient">
|
||||
<VueShowdown :markdown="formattedIngredient" flavor="github"/>
|
||||
<VueShowdown :markdown="formattedIngredient" flavor="github" />
|
||||
</div>
|
||||
<span v-if="!ingredientHasCorrectSyntax" class="icon-error" />
|
||||
</li>
|
||||
|
@ -54,7 +54,7 @@ const displayIngredient = computed(() => {
|
|||
});
|
||||
|
||||
const formattedIngredient = computed(() =>
|
||||
this.isDone ? `~~${this.displayIngredient}~~` : `**${this.displayIngredient}**`;
|
||||
this.isDone ? `~~${this.displayIngredient}~~` : `**${this.displayIngredient}**`
|
||||
);
|
||||
</script>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче