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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix download_file function in backup-executions.blade.php
Andras Bacsaifb614637a979
diff --git a/resources/views/livewire/project/database/backup-executions.blade.php b/resources/views/livewire/project/database/backup-executions.blade.phpindex c9be822e3c..a84b88e5e2 100644--- a/resources/views/livewire/project/database/backup-executions.blade.php+++ b/resources/views/livewire/project/database/backup-executions.blade.php@@ -24,7 +24,7 @@<div class="flex-1"></div>@if (data_get($execution, 'status') === 'success')<x-forms.button class=" dark:hover:bg-coolgray-400"- wire:click="download_file({{ data_get($execution, 'id') }})">Download</x-forms.button>+ x-on:click="download_file('{{ data_get($execution, 'id') }}')">Download</x-forms.button>@endif<x-modal-confirmation isErrorButton action="deleteBackup({{ data_get($execution, 'id') }})"><x-slot:button-title>@@ -34,6 +34,11 @@</x-modal-confirmation></div></form>+ <script>+ function download_file(executionId) {+ window.open('/download/backup/' + executionId, '_blank');+ }+ </script>@empty<div>No executions found.</div>@endforelse