mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #568 from pjjw/fix-dash
Fix directory browsing in dashboard
This commit is contained in:
commit
9247486576
@ -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
Loading…
x
Reference in New Issue
Block a user