Handle null value in createDeepLinkPath
This commit is contained in:
@@ -652,5 +652,5 @@ export const shallowEqualKeys = (a,b, keys) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createDeepLinkPath = (str) => str.replace(/\s/g, "_")
|
export const createDeepLinkPath = (str) => str ? str.replace(/\s/g, "_") : ""
|
||||||
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )
|
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )
|
||||||
Reference in New Issue
Block a user