fix: Handle deletion of 'hello' in confirmation modal for dev environment

This commit is contained in:
Andras Bacsai
2024-10-01 11:16:16 +02:00
parent 903d84e0dd
commit 5a770f9ddb

View File

@@ -296,7 +296,7 @@
</template> </template>
<template x-if="step === 1"> <template x-if="step === 1">
@if(isDev()) @if(isDev() && $submitAction === 'delete')
<x-forms.button class="w-auto" isError <x-forms.button class="w-auto" isError
@click="$wire.delete('hello')"> @click="$wire.delete('hello')">
<span x-text="step3ButtonText"></span> <span x-text="step3ButtonText"></span>