Skip to content

Commit c830eea

Browse files
Fixed issues with renderers after changing item config array
1 parent 7e5f6cb commit c830eea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LIN3S/PatternLibraryBuilder/Renderer/Colors.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(\Twig_Environment $twig)
1414
public function render($item)
1515
{
1616
return $this->twig->render('@Lin3sPatternLibraryBuilder/renderers/colors.html.twig', [
17-
'colors' => $item['renderer']['options']['colors'],
17+
'colors' => $item['config']['renderer']['options']['colors'],
1818
]);
1919
}
2020
}

src/LIN3S/PatternLibraryBuilder/Renderer/Typography.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(\Twig_Environment $twig)
1414
public function render($item)
1515
{
1616
return $this->twig->render('@Lin3sPatternLibraryBuilder/renderers/typography.html.twig', [
17-
'typographies' => $item['renderer']['options']['typographies'],
17+
'typographies' => $item['config']['renderer']['options']['typographies'],
1818
]);
1919
}
2020
}

0 commit comments

Comments
 (0)