From 6a6e149dc0957025132cf8a4827a04b4ffa891ca Mon Sep 17 00:00:00 2001 From: markvaneijk Date: Tue, 19 Nov 2024 13:49:13 +0000 Subject: [PATCH] Fix styling --- src/Resources/RedirectResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/RedirectResource.php b/src/Resources/RedirectResource.php index f29dba3..2d7aaf2 100644 --- a/src/Resources/RedirectResource.php +++ b/src/Resources/RedirectResource.php @@ -78,7 +78,7 @@ public static function table(Table $table): Table ->width(0) ->searchable() ->sortable() - ->color(fn(string $state): string => match ($state) { + ->color(fn (string $state): string => match ($state) { '301' => 'info', '302' => 'gray', '307' => 'warning', @@ -94,7 +94,7 @@ public static function table(Table $table): Table ->searchable() ->sortable() ->alignRight() - ->formatStateUsing(fn(string $state): string => $state . ' ×') + ->formatStateUsing(fn (string $state): string => $state . ' ×') ->width(50), ]) ->filters([