mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
2.x - backups
This commit is contained in:
@ -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]));
|
||||
}
|
||||
|
Reference in New Issue
Block a user