Skip to content

Commit

Permalink
bugfix: missing template column type variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Jun 12, 2023
1 parent 5ad8d6c commit a3cc13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Column/Type/TemplateColumnType.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function buildValueView(ColumnValueView $view, ColumnInterface $column, a
$templatePath = $templatePath($view->vars['data']);
}

if (is_callable($templateVars = $options['target'])) {
if (is_callable($templateVars = $options['template_vars'])) {
$templateVars = $templateVars($view->vars['data']);
}

Expand Down

0 comments on commit a3cc13c

Please sign in to comment.