add brackets for operator precedence

This commit is contained in:
Michael C 2022-12-27 00:24:46 -05:00
parent c5178b4c99
commit f68429487e
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -1435,7 +1435,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))
});
});
}