More merge oversights...

This commit is contained in:
Kyle Shockey
2017-09-15 20:33:16 -07:00
parent 6010245210
commit ae5ad484d9

View File

@@ -675,5 +675,5 @@ export function getAcceptControllingResponse(responses) {
return suitable2xxResponse || suitableDefaultResponse
}
export const createDeepLinkPath = (str) => str ? str.replace(/\s/g, "_") : ""
export const createDeepLinkPath = (str) => typeof str == "string" || str instanceof String ? str.trim().replace(/\s/g, "_") : ""
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )