Skip to content

Commit ae61599

Browse files
committed
Fixed static tests
1 parent 4a354da commit ae61599

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,16 +257,15 @@ define([
257257
return;
258258
}
259259

260-
currentTreePath = this.isFilterApplied(currentFilterPath) || _.isNull(requestedDirectory)
261-
? currentFilterPath
262-
: requestedDirectory;
260+
currentTreePath = this.isFilterApplied(currentFilterPath) || _.isNull(requestedDirectory) ?
261+
currentFilterPath : requestedDirectory;
263262

264263
if (this.folderExistsInTree(currentTreePath)) {
265264
this.locateNode(currentTreePath);
266265
} else {
267266
this.selectStorageRoot();
268267
}
269-
},
268+
},g
270269

271270
/**
272271
* Verify if directory exists in folder tree

0 commit comments

Comments
 (0)