Skip to content

Commit

Permalink
Merge pull request #60 from froboy/patch-2
Browse files Browse the repository at this point in the history
fix: Cannot add Membership Calculator Block via Layout Builder
  • Loading branch information
podarok authored Dec 24, 2023
2 parents 3308738 + 6407088 commit b0dbb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openy_calc/src/Form/CalcBlockForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#theme' => 'openy_calc_form_header',
'#steps' => $steps,
];
$header = $this->renderer->renderRoot($header);
$header = $this->renderer->render($header);
$form['header'] = [
'#markup' => $header,
];
Expand Down

0 comments on commit b0dbb77

Please sign in to comment.