Переглянути джерело

Merge pull request #568 from pjjw/fix-dash

Fix directory browsing in dashboard
Ed Rooth 12 роки тому
батько
коміт
9247486576

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

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

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
mod/dashboard/resources/resources.go


Деякі файли не було показано, через те що забагато файлів було змінено