Skip to content

Commit 3c7d711

Browse files
authored
Merge pull request #489 from performant-software/feature/cdp163_timeline_visualization
CDP #163 - Timeline visualization
2 parents 5285eb8 + ab36948 commit 3c7d711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/utils/Object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const WHITESPACE_REGEX = /\s\s+/g;
5151
* @returns {*}
5252
*/
5353
const getNestedValue = (object: any, path: string) => {
54-
const paths = path.split('.');
54+
const paths = _.compact(path?.split('.'));
5555

5656
let value = object;
5757

0 commit comments

Comments
 (0)