Эх сурвалжийг харах

[home2] Fix issue with empty directories

Johan Ahlen 9 жил өмнө
parent
commit
c08299573e

+ 3 - 0
desktop/core/src/desktop/static/desktop/js/fileBrowser/hueFileEntry.js

@@ -84,6 +84,9 @@
     var self = this;
     if (self.definition.type === 'directory') {
       self.makeActive();
+      if (! self.loaded()) {
+        self.load();
+      }
     } else {
       window.location.href = self.definition.absoluteUrl;
     }