Merged PR 1760: #4532 Fallback Route if Url contains Undefined or Null values

#4532 Fallback Route if Url contains Undefined or Null values
This commit is contained in:
Nino Righi
2024-03-06 12:13:13 +00:00
committed by Margaretha Lucha
parent b838f4c475
commit a209d59ea9

View File

@@ -226,7 +226,7 @@ export class ShellSideMenuComponent {
}
}, undefined);
if (!lastCrumb) {
if (!lastCrumb || lastCrumb?.path?.includes('undefined') || lastCrumb?.path?.includes('null')) {
return fallback;
}