Skip to content

Commit 91f5241

Browse files
AC-1638: Media gallery folders not expanded
1 parent 7096ca8 commit 91f5241

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/MediaGalleryUi/view/adminhtml/web/js/directory/directoryTree.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ define([
5353
this.directoryTreeSelector,
5454
this,
5555
function () {
56-
this.renderDirectoryTree().then(function () {
57-
this.initEvents();
58-
}.bind(this));
56+
this.initEvents();
57+
this.renderDirectoryTree();
5958
}.bind(this)
6059
);
6160

0 commit comments

Comments
 (0)