Merge pull request #568 from pjjw/fix-dash

Fix directory browsing in dashboard
This commit is contained in:
Ed Rooth 2014-02-14 14:41:29 -08:00
commit 9247486576
2 changed files with 3 additions and 3 deletions

View File

@ -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 one or more lines are too long