File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
app/code/Magento/MediaGalleryUi/Block/Adminhtml Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,6 @@ public function getActionsJson(): string
66
66
]
67
67
];
68
68
69
- if ($ this ->authorization ->isAllowed ('Magento_MediaGalleryUiApi::edit_assets ' )) {
70
- $ actions [] = [
71
- 'title ' => __ ('Edit Details ' ),
72
- 'handler ' => 'editImageAction ' ,
73
- 'name ' => 'edit ' ,
74
- 'classes ' => 'action-default scalable edit action-quaternary '
75
- ];
76
- }
77
-
78
69
if ($ this ->authorization ->isAllowed ('Magento_MediaGalleryUiApi::delete_assets ' )) {
79
70
$ actions [] = [
80
71
'title ' => __ ('Delete Image ' ),
@@ -84,6 +75,15 @@ public function getActionsJson(): string
84
75
];
85
76
}
86
77
78
+ if ($ this ->authorization ->isAllowed ('Magento_MediaGalleryUiApi::edit_assets ' )) {
79
+ $ actions [] = [
80
+ 'title ' => __ ('Edit Details ' ),
81
+ 'handler ' => 'editImageAction ' ,
82
+ 'name ' => 'edit ' ,
83
+ 'classes ' => 'action-default scalable edit action-quaternary '
84
+ ];
85
+ }
86
+
87
87
if ($ this ->authorization ->isAllowed ('Magento_MediaGalleryUiApi::insert_assets ' )) {
88
88
$ actions [] = [
89
89
'title ' => __ ('Add Image ' ),
You can’t perform that action at this time.
0 commit comments