💄 Code formatting

This commit is contained in:
Egon Richárd Tőrös 2018-03-12 21:44:55 +01:00
parent 4f5711c7e3
commit 3019d96ad9

View file

@ -612,7 +612,7 @@ export const reduceToValues = (items, key = 'value') => {
export const fetchFromObject = function (object, properties){
const index = properties.indexOf('.');
if(index > -1){
if (index > -1){
return fetchFromObject(object[properties.substring(0, index)], properties.substr(index + 1));
}