diff --git a/static/js/ui/vlm.js b/static/js/ui/vlm.js index dbf646c..3caff70 100644 --- a/static/js/ui/vlm.js +++ b/static/js/ui/vlm.js @@ -272,7 +272,7 @@ const VlmUI = { fetch('/api/vlm/generate-queries', { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ objects: selected, bbox: bbox, estimated_location_type: self._currentAnalysis.estimated_location_type || null }), + body: JSON.stringify({ objects: selected, bbox: bbox, estimated_location_type: VlmUI._currentAnalysis.estimated_location_type || null }), }) .then(function(r) { if (!r.ok) return r.json().then(function(d) { throw new Error(d.detail || 'Fehler'); });