mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
fix(ui): show loading state on compose validate button
Disable the Validate control and show a spinner until validateCompose finishes, then clear state via compose-validate-finished.
This commit is contained in:
1 parent
a37f1369c8
commit
968ea69e7d
3 files changed
+13
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<div x-data="{ raw: true, showNormalTextarea: false }"
|
||||
@compose-preview-toggle.window="raw = !raw"
|
||||
@compose-validate.window="$wire.validateCompose()"
|
||||
@compose-validate.window="$wire.validateCompose().finally(() => $dispatch('compose-validate-finished'))"
|
||||
@compose-save.window="$wire.saveEditedCompose()"
|
||||
class="flex min-h-0 flex-col gap-3">
|
||||
<x-callout type="info" title="Volume names">
|
||||
|
||||
Reference in new issue
Block a user