mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(webhooks): hide manual Git webhook form for non-Git resources (#12218)
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<x-forms.copy-input label="Deploy webhook URL" :text="$deploywebhook ?? ''" />
|
||||
</x-application.settings-section>
|
||||
|
||||
@if ($githubManualWebhook && $gitlabManualWebhook)
|
||||
@if ($resource->git_based() && $githubManualWebhook && $gitlabManualWebhook)
|
||||
<form wire:submit.prevent="submit" class="application-settings-form flex flex-col">
|
||||
<x-unsaved-bar action="submit"
|
||||
dirty="Object.entries($wire.savedSecrets).some(([property, saved]) => ($wire[property] ?? '') !== (saved ?? ''))" />
|
||||
|
||||
Reference in New Issue
Block a user