fix: default to all regions enabled for new monitors

This commit is contained in:
nate 2026-03-18 21:12:30 +04:00
parent 56114a3852
commit fad343c85a
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@
</div>
<%
// Default to eu-central if no regions selected
const selectedRegions = (monitor.regions && monitor.regions.length) ? monitor.regions : ['eu-central'];
// Default to all regions if none selected
const selectedRegions = (monitor.regions && monitor.regions.length) ? monitor.regions : regions.map(r => r[0]);
%>
<div>
<label class="block text-sm text-gray-400 mb-1.5">Regions</label>