diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 2804dc4c..91ca3f71 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1353,7 +1353,7 @@ function updatePreviewBar(): void { showLarger: segment.actionType === ActionType.Poi, description: segment.description, source: segment.source, - requiredSegment: requiredSegment && (segment.UUID === requiredSegment || segment.UUID.startsWith(requiredSegment)), + requiredSegment: requiredSegment && (segment.UUID === requiredSegment || segment.UUID?.startsWith(requiredSegment)), selectedSegment: selectedSegment && segment.UUID === selectedSegment }); }); |