add: add API menu option

pull/80/head
Luciano Righetti 2022-01-10 16:20:22 +01:00
parent b954e11064
commit 241e760ad2
2 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,12 @@ class Sidemenu {
'label' => __('Broods'),
'icon' => $this->iconTable['Broods'],
'url' => '/broods/index',
]
],
'API' => [
'label' => __('API'),
'icon' => $this->iconTable['API'],
'url' => '/api/index',
],
],
__('Administration') => [
'Roles' => [

View File

@ -34,6 +34,7 @@ class NavigationComponent extends Component
'LocalTools' => 'tools',
'Instance' => 'server',
'Tags' => 'tags',
'API' => 'code',
];
public function initialize(array $config): void