Update ListBackups.php

This commit is contained in:
Bozhidar 2024-04-25 15:29:35 +03:00
parent 6d76e0d19c
commit 6c9016ae0c

View file

@ -38,8 +38,10 @@ class ListBackups extends ListRecords
{
return [
null => Tab::make('All'),
'system' => Tab::make()->query(fn ($query) => $query->where('backup_type', 'system')),
'completed' => Tab::make()->query(fn ($query) => $query->where('status', 'completed')),
'processing' => Tab::make()->query(fn ($query) => $query->where('status', 'processing')),
'failed' => Tab::make()->query(fn ($query) => $query->where('status', 'failed')),
];
}
}