Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Aug 9, 2017
1 parent 96292ca commit 53159df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/wing.angular.js
Expand Up @@ -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++) {
Expand Down

0 comments on commit 53159df

Please sign in to comment.