Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjude authored and github-actions[bot] committed Oct 26, 2023
1 parent 7d420d9 commit 2c5a9e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/filament-debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
'telescope' => 'telescope.view',
],

'group' => 'Debugger'
'group' => 'Debugger',
];
1 change: 0 additions & 1 deletion src/DebuggerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ public static function get(): static

return $plugin;
}

}
5 changes: 2 additions & 3 deletions src/Traits/HasDebuggers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Stephenjude\FilamentDebugger\Traits;

use Filament\Facades\Filament;
use Filament\Navigation\NavigationItem;

trait HasDebuggers
Expand All @@ -19,7 +18,7 @@ private function authorized(string $ability): bool
public function telescope(): NavigationItem
{
return NavigationItem::make()
->visible($this->authorized(config("filament-debugger.permissions.telescope")))
->visible($this->authorized(config('filament-debugger.permissions.telescope')))
->group(config('filament-debugger.group'))
->url(url: url('telescope'), shouldOpenInNewTab: true)
->icon('heroicon-o-sparkles')
Expand All @@ -29,7 +28,7 @@ public function telescope(): NavigationItem
public function horizon(): NavigationItem
{
return NavigationItem::make()
->visible($this->authorized(config("filament-debugger.permissions.horizon")))
->visible($this->authorized(config('filament-debugger.permissions.horizon')))
->group(config('filament-debugger.group'))
->icon('heroicon-o-globe-europe-africa')
->url(url: url('horizon'), shouldOpenInNewTab: true)
Expand Down

0 comments on commit 2c5a9e4

Please sign in to comment.