mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +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->setLanguage($installationLanguage);
|
||||||
|
|
||||||
// $install->setStandaloneInstallation();
|
$install->setStandaloneInstallation();
|
||||||
$install->setSymlinkInstallation();
|
//$install->setSymlinkInstallation();
|
||||||
|
|
||||||
if ($databasesAreCreated) {
|
if ($databasesAreCreated) {
|
||||||
$install->setDatabaseDriver('mysql');
|
$install->setDatabaseDriver('mysql');
|
||||||
|
|
|
@ -4,10 +4,14 @@ namespace App\Filament\Resources\BackupResource\Pages;
|
||||||
|
|
||||||
use App\Filament\Resources\BackupResource;
|
use App\Filament\Resources\BackupResource;
|
||||||
use Filament\Actions;
|
use Filament\Actions;
|
||||||
|
use Filament\Pages\Concerns\ExposesTableToWidgets;
|
||||||
|
use Filament\Resources\Components\Tab;
|
||||||
use Filament\Resources\Pages\ListRecords;
|
use Filament\Resources\Pages\ListRecords;
|
||||||
|
|
||||||
class ListBackups extends ListRecords
|
class ListBackups extends ListRecords
|
||||||
{
|
{
|
||||||
|
use ExposesTableToWidgets;
|
||||||
|
|
||||||
protected static string $resource = BackupResource::class;
|
protected static string $resource = BackupResource::class;
|
||||||
|
|
||||||
protected function getHeaderActions(): array
|
protected function getHeaderActions(): array
|
||||||
|
@ -16,4 +20,20 @@ class ListBackups extends ListRecords
|
||||||
Actions\CreateAction::make(),
|
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