mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 22:14:14 +00:00
fix: in dev mode do not ask confirmation on delete
This commit is contained in:
1 parent
31cf3294bf
commit
bcc92e1f32
3 files changed
+20
-6
No files matched your search
@@ -296,9 +296,16 @@
|
||||
</template>
|
||||
|
||||
<template x-if="step === 1">
|
||||
<x-forms.button @click="step++" class="w-auto" isError>
|
||||
<span x-text="step1ButtonText"></span>
|
||||
</x-forms.button>
|
||||
@if(isDev())
|
||||
<x-forms.button class="w-auto" isError
|
||||
@click="$wire.delete('hello')">
|
||||
<span x-text="step3ButtonText"></span>
|
||||
</x-forms.button>
|
||||
@else
|
||||
<x-forms.button @click="step++" class="w-auto" isError>
|
||||
<span x-text="step1ButtonText"></span>
|
||||
</x-forms.button>
|
||||
@endif
|
||||
</template>
|
||||
|
||||
<template x-if="step === 2">
|
||||
|
||||
Reference in new issue
Block a user