Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Sep 5, 2024
1 parent 6d24660 commit a38aa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ protected function renderItems(array $items, ValidationResult $filterValidationR
$context = new DataContext($column, $value, $key, $index);
$cell = $renderers[$i]->renderBody($column, new Cell($this->bodyCellAttributes), $context);
$tags[] = $cell->isEmptyContent()
? Html::td($this->emptyCell, attributes: $this->emptyCellAttributes)->encode(false)
? Html::td($this->emptyCell, $this->emptyCellAttributes)->encode(false)
: Html::td(attributes: $this->prepareBodyAttributes($cell->getAttributes(), $context))
->content(...$cell->getContent())
->encode($cell->isEncode())
Expand Down

0 comments on commit a38aa22

Please sign in to comment.