2.x - backups

This commit is contained in:
Saeed Vaziry
2024-09-29 17:54:11 +02:00
parent e4fed24498
commit 2e9620409b
35 changed files with 1093 additions and 122 deletions

View File

@ -10,8 +10,6 @@
trait Navigation
{
public bool $hasSecondSubNavigation = true;
public function getSecondSubNavigation(): array
{
$items = [];
@ -32,7 +30,7 @@ public function getSecondSubNavigation(): array
if (Backups::canAccess()) {
$items[] = NavigationItem::make(Backups::getNavigationLabel())
->icon('heroicon-o-circle-stack')
->icon('heroicon-o-cloud')
->isActiveWhen(fn () => request()->routeIs(Backups::getRouteName()))
->url(Backups::getUrl(parameters: ['server' => $this->server]));
}