diff --git a/web/siteplan/src/components/development/JumpToGuid.vue b/web/siteplan/src/components/development/JumpToGuid.vue index 045c019ecd..65653c3c72 100644 --- a/web/siteplan/src/components/development/JumpToGuid.vue +++ b/web/siteplan/src/components/development/JumpToGuid.vue @@ -236,7 +236,8 @@ export default class JumpToGuid extends Vue { return false } - const guids = getFeatureGUIDs(feature).map(guid => guid?.toUpperCase()) + const guids = getFeatureGUIDs(feature).filter(g => g && g !== null) + .map(g => g?.toUpperCase()) const searchGuid = guid?.toUpperCase() return guids.some(guid => guid.search(searchGuid) !== -1) } diff --git a/web/siteplan/src/feature/FeatureInfo.ts b/web/siteplan/src/feature/FeatureInfo.ts index 1dc5d89806..c4984c6de8 100644 --- a/web/siteplan/src/feature/FeatureInfo.ts +++ b/web/siteplan/src/feature/FeatureInfo.ts @@ -192,6 +192,8 @@ export function getFeatureName (type: FeatureType): string { return 'Überhöhungslinie' case FeatureType.Unknown: return 'Unbekannt' + case FeatureType.Flash: + return 'Hightlight' case FeatureType.TrackDirectionArrow: return 'GleisausrichtungsPfeil' default: