removed typo "upstremModel"
Looks like a typo to me, but please may some once double check that I didn't break anything.
This commit is contained in:
parent
0e77afcfb1
commit
693bd6f9d1
|
@ -68,12 +68,12 @@
|
|||
this.msec.period = time - this.msec.last;
|
||||
this.msec.last = time;
|
||||
};
|
||||
const UpstremModel = Backbone.Model.extend({
|
||||
const UpstreamModel = Backbone.Model.extend({
|
||||
idAttribute: 'uuid'
|
||||
});
|
||||
const UpstreamCollection = Backbone.Collection.extend({
|
||||
url: '/api/nginx/settings/searchupstream',
|
||||
model: UpstremModel,
|
||||
model: UpstreamModel,
|
||||
parse: function(response) {
|
||||
return response.rows;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue