fix: [metafields] don't show the element if no metafields are configured for the scope
parent
930d728a97
commit
1d611b2df8
|
@ -103,7 +103,7 @@
|
|||
$ajaxFlashMessage,
|
||||
$formCreate,
|
||||
$fieldsString,
|
||||
$this->element(
|
||||
empty($metaFieldStrings) ? '' : $this->element(
|
||||
'genericElements/accordion_scaffold', [
|
||||
'body' => $metaFieldString,
|
||||
'title' => 'Meta fields'
|
||||
|
@ -126,7 +126,7 @@
|
|||
$data['description']
|
||||
),
|
||||
$fieldsString,
|
||||
$this->element(
|
||||
empty($metaFieldStrings) ? '' : $this->element(
|
||||
'genericElements/accordion_scaffold', [
|
||||
'body' => $metaFieldString,
|
||||
'title' => 'Meta fields'
|
||||
|
|
Loading…
Reference in New Issue