Skip to content

Commit

Permalink
Merge pull request #95 from MGHollander/68-wake-lock-on-recipe-detail…
Browse files Browse the repository at this point in the history
…-page
  • Loading branch information
MGHollander authored Jun 28, 2024
2 parents 288c27b + f7ac919 commit f869380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/Pages/Recipes/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const toggleStrike = (ingredient) => {
<button
class="w-8 rounded border-2 border-gray-500 text-lg font-bold text-gray-600 transition-all hover:bg-gray-500 hover:text-white"
aria-label="Verhoog aantal porties"
@click="updateServings(servings + 1)"
@click="updateServings(parseInt(servings) + 1)"
>
+
</button>
Expand All @@ -218,7 +218,7 @@ const toggleStrike = (ingredient) => {
:disabled="servings === 1"
class="w-8 rounded border-2 border-gray-500 text-lg font-bold text-gray-600 hover:bg-gray-500 hover:text-white disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-transparent disabled:hover:text-gray-600"
aria-label="Verminder aantal porties"
@click="updateServings(servings - 1)"
@click="updateServings(parseInt(servings) - 1)"
>
-
</button>
Expand Down

0 comments on commit f869380

Please sign in to comment.