From a3cc13c59454f97923f3e578b2a5e2df5d54811c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wr=C3=B3blewski?= Date: Mon, 12 Jun 2023 15:32:09 +0200 Subject: [PATCH] bugfix: missing template column type variables --- src/Column/Type/TemplateColumnType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Column/Type/TemplateColumnType.php b/src/Column/Type/TemplateColumnType.php index 0cc8e91b..d220dfaa 100644 --- a/src/Column/Type/TemplateColumnType.php +++ b/src/Column/Type/TemplateColumnType.php @@ -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']); }