Browse Source

Merge pull request #568 from pjjw/fix-dash

Fix directory browsing in dashboard
Ed Rooth 12 years ago
parent
commit
9247486576

+ 1 - 1
mod/dashboard/app/scripts/controllers/browser.js

@@ -65,7 +65,7 @@ angular.module('etcdControlPanel')
       //hide any errors
       $('#etcd-browse-error').hide();
       // Looking at a directory if we got an array
-      if (data.dir === true) {
+      if (data.node.dir === true) {
         $scope.list = data.node.nodes;
         $scope.preview = 'etcd-preview-hide';
       } else {

File diff suppressed because it is too large
+ 0 - 0
mod/dashboard/resources/resources.go


Some files were not shown because too many files changed in this diff