mirror of https://github.com/status-im/consul.git
ui: remove nodes debugging
This commit is contained in:
parent
406fc3a157
commit
317f827ad7
|
@ -243,8 +243,7 @@ App.NodesRoute = App.BaseRoute.extend({
|
|||
model: function(params) {
|
||||
var dc = this.modelFor('dc').dc
|
||||
// Return a promise containing the nodes
|
||||
// return Ember.$.getJSON('/v1/internal/ui/nodes?dc=' + dc).then(function(data) {
|
||||
return Ember.$.getJSON('/ui/nodes.json').then(function(data) {
|
||||
return Ember.$.getJSON('/v1/internal/ui/nodes?dc=' + dc).then(function(data) {
|
||||
objs = [];
|
||||
data.map(function(obj){
|
||||
objs.push(App.Node.create(obj));
|
||||
|
|
Loading…
Reference in New Issue