File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
app/code/Magento/PageBuilder/view/adminhtml Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 81
81
<item name =" dataUrlConfigPath" xsi : type =" string" >content_types.block.additional_data.chooserConfig.dataUrl</item >
82
82
<item name =" modalName" xsi : type =" string" >ns = ${ $.ns }, index = modal</item >
83
83
<item name =" buttonTitle" xsi : type =" string" translate =" true" >Select Block</item >
84
+ <item name =" displayMetadata" xsi : type =" boolean" >false</item >
84
85
</item >
85
86
</argument >
86
87
<settings >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ define([
17
17
id : null ,
18
18
meta : { } ,
19
19
errorMessage : null ,
20
+ displayMetadata : true ,
20
21
messages : {
21
22
UNKOWN_ERROR : $t ( 'Sorry, there was an error getting requested content. ' +
22
23
'Please contact the store owner.' ) ,
@@ -51,7 +52,7 @@ define([
51
52
*/
52
53
initObservable : function ( ) {
53
54
return this . _super ( )
54
- . observe ( 'id meta errorMessage' ) ;
55
+ . observe ( 'id meta errorMessage displayMetadata ' ) ;
55
56
} ,
56
57
57
58
/**
Original file line number Diff line number Diff line change 19
19
< render />
20
20
</ div >
21
21
22
- < table class ="block-info " data-role ="grid " if ="$data.meta().title && !$data.errorMessage() ">
22
+ < table class ="block-info " data-role ="grid " if ="$data.displayMetadata() && $data. meta().title && !$data.errorMessage() ">
23
23
< tbody >
24
24
< tr class ="data-row _odd-row ">
25
25
< td >
You can’t perform that action at this time.
0 commit comments