This commit is contained in:
@@ -447,7 +447,7 @@ export default {
|
||||
//
|
||||
objectIsEmpty: function(obj) {
|
||||
//https://stackoverflow.com/a/4994265/8939
|
||||
return Object.keys(obj).length === 0;
|
||||
return !obj || Object.keys(obj).length === 0;
|
||||
},
|
||||
///////////////////////////////////////////////
|
||||
// Trim specific character from start and end
|
||||
|
||||
Reference in New Issue
Block a user