Dynamic group booking fix to accept "+" in URL and updated Head SEO for dynamic booking (#2414)

This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-04-07 11:28:52 +01:00
1 parent 31a8f25bb6
commit 63635fc110
2 files changed
+13 -4

No files matched your search

+2
View File
@@ -141,6 +141,8 @@ export const getUsernameSlugLink = ({ users, slug }: UsernameSlugLinkProps): str
export const getUsernameList = (users: string): string[] => {
return users
.toLowerCase()
.replace(" ", "+")
.replace("%20", "+")
.split("+")
.filter((el) => {
return el.length != 0;