Skip to content

Commit 5a770f9

Browse files
committed
fix: Handle deletion of 'hello' in confirmation modal for dev environment
1 parent 903d84e commit 5a770f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/modal-confirmation.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class="w-24 dark:bg-coolgray-200 dark:hover:bg-coolgray-300">
296296
</template>
297297

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

0 commit comments

Comments
 (0)