|
@@ -18,7 +18,7 @@ class Label extends AbstractDisplayer
|
|
|
$original = $this->column->getOriginal();
|
|
|
$defaultStyle = is_array($style) ? ($style['default'] ?? 'default') : 'default';
|
|
|
|
|
|
- $background= $this->formatStyle(
|
|
|
+ $background = $this->formatStyle(
|
|
|
is_array($style) ?
|
|
|
(is_scalar($original) ? ($style[$original] ?? $defaultStyle) : current($style))
|
|
|
: $style
|