mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { type NavItem } from '@/types';
|
||||
import {
|
||||
BoxIcon,
|
||||
ChartLineIcon,
|
||||
ClockIcon,
|
||||
CloudIcon,
|
||||
@ -59,6 +60,7 @@ export default function ServerLayout({ children }: { children: ReactNode }) {
|
||||
href: route('databases', { server: page.props.server.id }),
|
||||
icon: DatabaseIcon,
|
||||
isDisabled: isMenuDisabled,
|
||||
hidden: !page.props.server.services['database'],
|
||||
children: [
|
||||
{
|
||||
title: 'Databases',
|
||||
@ -98,6 +100,11 @@ export default function ServerLayout({ children }: { children: ReactNode }) {
|
||||
onlyActivePath: route('application', { server: page.props.server.id, site: site.id }),
|
||||
icon: RocketIcon,
|
||||
},
|
||||
{
|
||||
title: 'Features',
|
||||
href: route('site-features', { server: page.props.server.id, site: site.id }),
|
||||
icon: BoxIcon,
|
||||
},
|
||||
{
|
||||
title: 'Commands',
|
||||
href: route('commands', { server: page.props.server.id, site: site.id }),
|
||||
|
Reference in New Issue
Block a user