Skip to content

Commit eb94257

Browse files
committed
MAGETWO-48820: Refactor UI component to merge metadata
1 parent b608bbb commit eb94257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Element/UiComponentFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function createChildComponent(
8383
$identifier
8484
) {
8585
list($className, $arguments) = $this->argumentsResolver($identifier, $bundleComponents);
86-
if (isset($arguments['data']['disabled']) && $arguments['data']['disabled'] === 'true') {
86+
if (isset($arguments['data']['disabled']) && (int)$arguments['data']['disabled']) {
8787
return null;
8888
}
8989
$components = [];

0 commit comments

Comments
 (0)