Permalink
Browse files

fix(project): check if populate is a string

  • Loading branch information...
VMBindraban
VMBindraban committed Jun 29, 2016
1 parent db43c7a commit bf00df391945c1cd36e413f9a75145f32d55e733
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/datatable.js
@@ -67,7 +67,7 @@ export class DataTable {
if (!this.populate) {
this.criteria.populate = null;
} else if (typeof this.criteria.populate === 'string') {
} else if (typeof this.populate === 'string') {
this.criteria.populate = this.populate;
}

0 comments on commit bf00df3

Please sign in to comment.