From ae623b855218bbb919f7921fcc5405f56a8a8031 Mon Sep 17 00:00:00 2001 From: David Tsay Date: Wed, 8 Feb 2023 12:48:39 -0800 Subject: [PATCH] won't mount if cameraAngleOfView undefined --- src/plugins/imagery/components/Compass/CompassRose.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/plugins/imagery/components/Compass/CompassRose.vue b/src/plugins/imagery/components/Compass/CompassRose.vue index 2b4a17f480..7b641a00b8 100644 --- a/src/plugins/imagery/components/Compass/CompassRose.vue +++ b/src/plugins/imagery/components/Compass/CompassRose.vue @@ -293,13 +293,7 @@ export default { return this.cameraPan ?? this.heading; }, cameraAngleOfView() { - const cameraAngleOfView = this.transformations?.cameraAngleOfView; - - if (!cameraAngleOfView) { - console.warn('No Camera Angle of View provided'); - } - - return cameraAngleOfView; + return this.transformations?.cameraAngleOfView; }, camAngleAndPositionStyle() { const translateX = this.transformations?.translateX;