commit | b585d38595df1cdf84947a70b8d50efbc27c0132 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Jun 15 14:53:33 2016 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Jun 15 14:53:33 2016 -0700 |
tree | 0452f06011f516ee4d7213a2af3e86738cc3f430 | |
parent | e50e427377495cd05cebf9d11fdde1a6d48e0d20 [diff] |
Added linting rules to ngXosLib and cleaned code
diff --git a/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js b/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js index 08844f6..622952f 100644 --- a/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js +++ b/views/ngXosLib/xosHelpers/src/ui_components/smartComponents/smartTable/smartTable.component.js
@@ -242,7 +242,7 @@ prop: p }; - if(typeof item[p] !== 'string' && typeof item[p] !== 'undefined'){ + if(angular.isString(item[p]) && typeof item[p] !== 'undefined'){ fieldConfig.type = typeof item[p]; }