Merge branch 'dev' of http://git.verdnatura.es/salix into dev
This commit is contained in:
commit
fe127bacd7
|
@ -1,7 +1,7 @@
|
|||
import {module} from '../module';
|
||||
|
||||
const isFullEmpty = item => {
|
||||
return (!item && item !== 0) || (typeof item === 'object' && !Object.keys(item).length);
|
||||
return (!item && item !== 0 && item !== false) || (typeof item === 'object' && !Object.keys(item).length);
|
||||
};
|
||||
|
||||
export default isFullEmpty;
|
||||
|
|
Loading…
Reference in New Issue