mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
update
This commit is contained in:
parent
e4f66ef06f
commit
a277ab273b
2 changed files with 9 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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\')')
|
||||
|
|
Loading…
Reference in a new issue