Explorar o código

[home2] Fix issue with empty directories

Johan Ahlen %!s(int64=10) %!d(string=hai) anos
pai
achega
c082995

+ 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;
     }