Permalink
Browse files

bugfix

  • Loading branch information...
rizen committed Aug 9, 2017
1 parent 96292ca commit 53159df15431221b11e48d3c5d4fa50c801817b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/wing.angular.js
View
@@ -196,7 +196,7 @@ angular.module('wing',[])
return $http.get(behavior.list_api, { params : params, withCredentials : behavior.with_credentials != null ? behavior.with_credentials : true })
.then(function (response) {
var data = response.data;
if (typeof options !== 'undefined' && !options.accumulate) {
if (typeof options === 'undefined' || typeof options !== 'undefined' && options.accumulate != true) {
self.objects = [];
}
for (var index = 0; index < data.result.items.length; index++) {

0 comments on commit 53159df

Please sign in to comment.