Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 25, 2024
1 parent 779d2a0 commit e10d549
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/Modules/Microweber/Listeners/DomainIsCreatedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public function handle(DomainIsCreated $event): void

$install->setLanguage($installationLanguage);

// $install->setStandaloneInstallation();
$install->setSymlinkInstallation();
$install->setStandaloneInstallation();
//$install->setSymlinkInstallation();

if ($databasesAreCreated) {
$install->setDatabaseDriver('mysql');
Expand Down
20 changes: 20 additions & 0 deletions web/app/Filament/Resources/BackupResource/Pages/ListBackups.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@

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
Expand All @@ -16,4 +20,20 @@ protected function getHeaderActions(): array
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')),
];
}
}

0 comments on commit e10d549

Please sign in to comment.