#4532 Hotfix If Route from lastCrumb contains undefined or null values, return fallback

This commit is contained in:
Nino
2024-03-06 13:06:17 +01:00
parent c06ba11220
commit ca8c605da1

View File

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