Fix for backward compatibility with lodash 2.4 (_.uniqBy)

This commit is contained in:
Alexander Zobnin
2016-11-26 14:25:52 +03:00
parent bc19dd2d85
commit a5cecbe1c7

View File

@@ -104,3 +104,6 @@ export default {
handleTrends: handleTrends, handleTrends: handleTrends,
handleSLAResponse: handleSLAResponse handleSLAResponse: handleSLAResponse
}; };
// Fix for backward compatibility with lodash 2.4
if (!_.uniqBy) {_.uniqBy = _.uniq;}