Kaynağa Gözat

Merge pull request #568 from pjjw/fix-dash

Fix directory browsing in dashboard
Ed Rooth 12 yıl önce
ebeveyn
işleme
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 {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
mod/dashboard/resources/resources.go


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor