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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user