This commit is contained in:
Bozhidar 2024-04-25 12:15:21 +03:00
parent 779d2a0402
commit e10d5491bb
2 changed files with 22 additions and 2 deletions

View file

@ -92,8 +92,8 @@ class DomainIsCreatedListener
$install->setLanguage($installationLanguage);
// $install->setStandaloneInstallation();
$install->setSymlinkInstallation();
$install->setStandaloneInstallation();
//$install->setSymlinkInstallation();
if ($databasesAreCreated) {
$install->setDatabaseDriver('mysql');

View file

@ -4,10 +4,14 @@ namespace App\Filament\Resources\BackupResource\Pages;
use App\Filament\Resources\BackupResource;
use Filament\Actions;
use Filament\Pages\Concerns\ExposesTableToWidgets;
use Filament\Resources\Components\Tab;
use Filament\Resources\Pages\ListRecords;
class ListBackups extends ListRecords
{
use ExposesTableToWidgets;
protected static string $resource = BackupResource::class;
protected function getHeaderActions(): array
@ -16,4 +20,20 @@ class ListBackups extends ListRecords
Actions\CreateAction::make(),
];
}
protected function getActions(): array
{
return [
Actions\CreateAction::make(),
];
}
public function getTabs(): array
{
return [
null => Tab::make('All'),
'completed' => Tab::make()->query(fn ($query) => $query->where('status', 'completed')),
];
}
}