fix: default to all regions enabled for new monitors
This commit is contained in:
@@ -82,8 +82,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
// Default to eu-central if no regions selected
|
// Default to all regions if none selected
|
||||||
const selectedRegions = (monitor.regions && monitor.regions.length) ? monitor.regions : ['eu-central'];
|
const selectedRegions = (monitor.regions && monitor.regions.length) ? monitor.regions : regions.map(r => r[0]);
|
||||||
%>
|
%>
|
||||||
<div>
|
<div>
|
||||||
<label class="block text-sm text-gray-400 mb-1.5">Regions</label>
|
<label class="block text-sm text-gray-400 mb-1.5">Regions</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user