diff --git a/src/plugins/imagery/components/Compass/Compass.vue b/src/plugins/imagery/components/Compass/Compass.vue index de40fae2dd..f74638dfc4 100644 --- a/src/plugins/imagery/components/Compass/Compass.vue +++ b/src/plugins/imagery/components/Compass/Compass.vue @@ -75,7 +75,7 @@ export default { normalizedCameraAzimuth() { return this.hasGimble ? rotate(this.cameraAzimuth) - : rotate(this.heading, -this.transformations?.rotation ?? 0); + : rotate(this.heading, -(this.transformations.rotation || 0)); }, // horizontal rotation from north in degrees heading() {