diff --git a/meshchatx/src/frontend/components/map/MapPage.vue b/meshchatx/src/frontend/components/map/MapPage.vue index c8f3b2e..cedf028 100644 --- a/meshchatx/src/frontend/components/map/MapPage.vue +++ b/meshchatx/src/frontend/components/map/MapPage.vue @@ -321,6 +321,13 @@ > +
@@ -1124,6 +1131,20 @@ export default { this.selectedBbox = null; this.isExportMode = false; }, + async cancelActiveExport() { + if (!this.exportId) { + this.exportStatus = null; + return; + } + try { + await window.axios.delete(`/api/v1/map/export/${this.exportId}`); + this.exportStatus = null; + this.exportId = null; + ToastUtils.success("Export cancelled"); + } catch { + ToastUtils.error("Failed to cancel export"); + } + }, async startExport() { if (!this.selectedBbox) return; this.isExporting = true;