mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
ui: better error handling
This commit is contained in:
parent
f0d66ceed5
commit
dcdc4e7d68
@ -58,7 +58,7 @@ App.BaseRoute = Ember.Route.extend({
|
||||
App.IndexRoute = App.BaseRoute.extend({
|
||||
// Retrieve the list of datacenters
|
||||
model: function(params) {
|
||||
return Ember.$.getJSON('/v1/catalog/datacenters').then(function(data) {
|
||||
return Ember.$.getJSON('/v1/catalog/datacenaters').then(function(data) {
|
||||
return data
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user