fix: probe all non-core GeoServer layers

Extend availability checks beyond pumps and tanks so unpublished valve and reservoir layers cannot leave stale controls.
This commit is contained in:
2026-09-11 17:00:54 +08:00
parent cf699d6207
commit 31acd33a2e
4 changed files with 33 additions and 15 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ export const SUPPLY_LAYER_CATALOG = [
sourceLayer: SOURCE_LAYERS.valves,
geometry: "point",
available: true,
availability: "required",
availability: "probe",
label: "阀门",
icon: "valve"
},
@@ -77,7 +77,7 @@ export const SUPPLY_LAYER_CATALOG = [
sourceLayer: SOURCE_LAYERS.reservoirs,
geometry: "point",
available: true,
availability: "required",
availability: "probe",
label: "水库",
icon: "reservoir"
},