Skip to content

Commit

Permalink
Update Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 11, 2024
1 parent e1c05c2 commit 3f8d8a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/web/src/components/CloudTAK/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ const drawMode = ref<string>('static') // Set the terra-draw mode to avoid getMo
const drawModePoint = ref<string>('u-d-p');
const pointInput = ref<boolean>(false);
const feat = ref() // Show the Feat Viewer sidebar
const locked = ref([]) // Lock the map view to a given CoT - The last element is the currently locked value
const locked = ref<Array<string>>([]) // Lock the map view to a given CoT - The last element is the currently locked value
// this is an array so that things like the radial menu can temporarily lock state but remember the previous lock value when they are closed
const live_loc_denied = ref(false) // User denied live location services
const live_loc = ref<Feature | undefined>();
Expand Down Expand Up @@ -615,7 +615,6 @@ watch(mapStore.radial, () => {
mapStore.map.touchZoomRotate.disableRotation();
mapStore.map.dragRotate.disable();
mapStore.map.dragPan.disable();
// @ts-expect-error Fix Types
locked.value.push(mapStore.radial.cot.properties ? mapStore.radial.cot.properties.id : mapStore.radial.cot.id);
} else {
mapStore.map.scrollZoom.enable();
Expand Down

0 comments on commit 3f8d8a4

Please sign in to comment.