refactor(frontend): align TJWater Next integrations
This commit is contained in:
@@ -202,10 +202,7 @@ const LocationResults: React.FC<Props> = ({ result }) => {
|
||||
if (!pipeIds.length || !map) return;
|
||||
|
||||
try {
|
||||
let features = await queryFeaturesByIds(pipeIds, "geo_pipes_mat");
|
||||
if (features.length === 0) {
|
||||
features = await queryFeaturesByIds(pipeIds, "geo_pipes");
|
||||
}
|
||||
const features = await queryFeaturesByIds(pipeIds, "pipes");
|
||||
if (features.length === 0) return;
|
||||
|
||||
setHighlightFeatures(features);
|
||||
|
||||
Reference in New Issue
Block a user