diff --git a/README.md b/README.md index 4fe396def..687f0c160 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ many of the services it provides will initiate AWS API calls with no graceful fa ### Docker Compose ``` -docker-compose up --build +docker compose up --build ``` Once the database and API service have built, the server will start on port 5000. diff --git a/api/web/src/components/CloudTAK/Map.vue b/api/web/src/components/CloudTAK/Map.vue index 1a7fdda0d..a788bed1c 100644 --- a/api/web/src/components/CloudTAK/Map.vue +++ b/api/web/src/components/CloudTAK/Map.vue @@ -881,8 +881,13 @@ export default { cotStore.hidden.add(feat.id); this.updateCOT(); - mapStore.draw.addFeatures([feat.as_feature()]); - mapStore.draw.selectFeature(feat.id); + try { + mapStore.draw.addFeatures([feat.as_feature()]); + mapStore.draw.selectFeature(feat.id); + } catch (err) { + mapStore.draw.setMode('static'); + throw err + } }, deleteCOT: async function(cot) { await cotStore.delete(cot.properties.id) diff --git a/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue b/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue index 0424b439d..52972d36d 100644 --- a/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue +++ b/api/web/src/components/CloudTAK/Menu/Videos/VideoLeaseModal.vue @@ -153,8 +153,14 @@ v-model='channels' :limit='1' /> -