This commit is contained in:
Bozhidar 2024-05-11 12:18:32 +03:00
parent e4f66ef06f
commit a277ab273b
2 changed files with 9 additions and 6 deletions

View file

@ -1,8 +1,8 @@
---
kind: pipeline
name: Ubuntu 22.04 - CODE COVERAGE
name: Ubuntu 22.04 - Unit Test & Code Coverage
steps:
- name: run unit tests
- name: run & upload code coverage
image: ubuntu:22.04
environment:
CODECOV_TOKEN:

View file

@ -35,15 +35,18 @@ class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
if (auth()->check()) {
$panel->renderHook(
name: PanelsRenderHook::BODY_START,
hook: fn (): string => Blade::render('@livewire(\'jobs-queue-notifications\')')
);
}
$panel->default()
->darkMode(true)
->id('admin')
->path('admin')
->login()
->renderHook(
name: PanelsRenderHook::BODY_START,
hook: fn (): string => Blade::render('@livewire(\'jobs-queue-notifications\')')
)
->renderHook(
name: PanelsRenderHook::TOPBAR_START,
hook: fn (): string => Blade::render('@livewire(\'quick-service-restart-menu\')')