Skip to content

Commit f70b564

Browse files
committed
AC-12336: WYSIWYG is empty in dynamic rows
Code format
1 parent c28f4b4 commit f70b564

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

app/code/Magento/Ui/Plugin/Config/Backend/ArraySerializedPlugin.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ public function __construct(
3131
) {
3232
}
3333

34-
/**
35-
* Check if we're on the design config edit page.
36-
*
37-
* @return bool
38-
*/
39-
private function isDesignConfigEditPage(): bool
40-
{
41-
return in_array($this->request->getFullActionName(), self::DESIGN_CONFIG_EDIT_PAGE);
42-
}
43-
4434
/**
4535
* Convert string keys to numeric keys. Only applies in adminhtml area and on design config edit page
4636
*
@@ -69,6 +59,17 @@ public function afterAfterLoad(ArraySerialized $subject, ArraySerialized $result
6959
// Convert to numerically indexed array
7060
$convertedValue = array_values($value);
7161
$subject->setValue($convertedValue);
62+
7263
return $result;
7364
}
65+
66+
/**
67+
* Check if we're on the design config edit page.
68+
*
69+
* @return bool
70+
*/
71+
private function isDesignConfigEditPage(): bool
72+
{
73+
return in_array($this->request->getFullActionName(), self::DESIGN_CONFIG_EDIT_PAGE);
74+
}
7475
}

0 commit comments

Comments
 (0)