Skip to content

Commit

Permalink
fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv committed Sep 4, 2023
1 parent 6b0c11f commit 1ab768a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Filament/Resources/JobBatchesResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class JobBatchesResource extends Resource

protected static ?string $model = JobBatch::class;

protected static ?string $navigationIcon = 'heroicon-o-view-list';
protected static ?string $navigationIcon = 'heroicon-o-queue-list';

protected static ?string $navigationGroup = 'jobs';

Expand Down
2 changes: 1 addition & 1 deletion Filament/Resources/JobResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class JobResource extends Resource
// use ContextualResource;
protected static ?string $model = Job::class;

protected static ?string $navigationIcon = 'heroicon-o-collection';
protected static ?string $navigationIcon = 'heroicon-o-circle-stack';

protected static ?string $navigationGroup = 'jobs';

Expand Down
12 changes: 6 additions & 6 deletions Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ public function panel(Panel $panel): Panel
{
$moduleNamespace = $this->getModuleNamespace();
$panel = $panel
->id('egea::admin')
->path('egea/admin')
->id('job::admin')
->path('job/admin')
->colors([
'primary' => Color::Teal,
])
->discoverResources(in: base_path('Modules/' . $this->module . '/Filament/Resources'), for: "{$moduleNamespace}\\Filament\\Resources")
->discoverPages(in: base_path('Modules/' . $this->module . '/Filament/Admin/Pages'), for: "{$moduleNamespace}\\Filament\\Admin\\Pages")
->discoverResources(in: base_path('Modules/'.$this->module.'/Filament/Resources'), for: "{$moduleNamespace}\\Filament\\Resources")
->discoverPages(in: base_path('Modules/'.$this->module.'/Filament/Admin/Pages'), for: "{$moduleNamespace}\\Filament\\Admin\\Pages")
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: base_path('Modules/' . $this->module . '/Filament/Admin/Widgets'), for: "{$moduleNamespace}\\Filament\\Admin\\Widgets")
->discoverWidgets(in: base_path('Modules/'.$this->module.'/Filament/Admin/Widgets'), for: "{$moduleNamespace}\\Filament\\Admin\\Widgets")
->widgets([
Widgets\AccountWidget::class,
// Widgets\FilamentInfoWidget::class,
Expand Down Expand Up @@ -77,6 +77,6 @@ public function panel(Panel $panel): Panel

protected function getModuleNamespace(): string
{
return config('modules.namespace') . '\\' . $this->module;
return config('modules.namespace').'\\'.$this->module;
}
}

0 comments on commit 1ab768a

Please sign in to comment.