mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update ColorColumn.php
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Filament\Tables\Columns;
|
||||
|
||||
use Filament\Support\Components\Contracts\HasEmbeddedView;
|
||||
use Filament\Support\Enums\Alignment;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Js;
|
||||
use Illuminate\View\ComponentAttributeBag;
|
||||
@@ -43,6 +44,8 @@ class ColorColumn extends Column implements HasEmbeddedView
|
||||
<?php return ob_get_clean();
|
||||
}
|
||||
|
||||
$state = Arr::wrap($state);
|
||||
|
||||
$alignment = $this->getAlignment();
|
||||
|
||||
$attributes = $attributes
|
||||
|
||||
Reference in New Issue
Block a user