diff --git a/templates/components/targeting_selector_simple.html b/templates/components/targeting_selector_simple.html index 9979672f2..5f22cfbe3 100644 --- a/templates/components/targeting_selector_simple.html +++ b/templates/components/targeting_selector_simple.html @@ -126,7 +126,7 @@

🎯 Custom Targeting

const response = await fetch(`/api/tenant/${tenantId}/targeting/all`); const data = await response.json(); - availableKeys = data.custom_targeting_keys || []; + availableKeys = data.customKeys || []; // Populate keys dropdown const keySelect = document.getElementById('targeting-key-select');