Skip to content

Commit 5367bde

Browse files
MAGETWO-91688: Exception when login as restricted admin with access only to CMS Block
- Add component type as constant
1 parent db02088 commit 5367bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Ui/Component/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function prepareMetadata()
9696
'editorConfig' => [
9797
'enabled' => false
9898
],
99-
'componentType' => 'container'
99+
'componentType' => \Magento\Ui\Component\Container::NAME
100100
]
101101
]
102102
]

0 commit comments

Comments
 (0)