mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
779d2a0402
commit
e10d5491bb
2 changed files with 22 additions and 2 deletions
|
@ -92,8 +92,8 @@ class DomainIsCreatedListener
|
|||
|
||||
$install->setLanguage($installationLanguage);
|
||||
|
||||
// $install->setStandaloneInstallation();
|
||||
$install->setSymlinkInstallation();
|
||||
$install->setStandaloneInstallation();
|
||||
//$install->setSymlinkInstallation();
|
||||
|
||||
if ($databasesAreCreated) {
|
||||
$install->setDatabaseDriver('mysql');
|
||||
|
|
|
@ -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')),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue