fix(ui): allow adding scheduled backups for non-migrated databases

This commit is contained in:
Andras Bacsai
2025-05-03 13:34:20 +02:00
parent cf7a6eccab
commit d8185e3d6a

View File

@@ -37,7 +37,7 @@
<div x-cloak x-show="activeTab === 'backups'">
<div class="flex gap-2 ">
<h2 class="pb-4">Scheduled Backups</h2>
@if (filled($serviceDatabase->custom_type))
@if (filled($serviceDatabase->custom_type) || !$serviceDatabase->is_migrated)
<x-modal-input buttonTitle="+ Add" title="New Scheduled Backup">
<livewire:project.database.create-scheduled-backup :database="$serviceDatabase" />
</x-modal-input>