Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsai5a770f9ddb33
diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php
index 3862f416d7..a6335c9407 100644
--- a/resources/views/components/modal-confirmation.blade.php
+++ b/resources/views/components/modal-confirmation.blade.php
@@ -296,7 +296,7 @@
</template>
<template x-if="step === 1">
- @if(isDev())
+ @if(isDev() && $submitAction === 'delete')
<x-forms.button class="w-auto" isError
@click="$wire.delete('hello')">
<span x-text="step3ButtonText"></span>