Skip to content

[Bug]:Wrong 4th argument to getVectorLayers for drainage layer (string instead of boolean setActive) #356

@Athina09

Description

@Athina09

Page / Route

Homepage (/)

Selected Location

No response

Bug Description

Summary

In dashboard_basemap.jsx, drainage layer loading calls getVectorLayers with a string ("drainage") as the 4th argument. Per getVectorLayers’ signature, that parameter is setActive and should be a boolean.

Current code

getVectorLayers("drainage", drainageKey, true, "drainage")

### Steps to Reproduce

_No response_

### Expected Behavior

getVectorLayers("drainage", drainageKey, true, true)

### Filters Applied

_No response_

### Screenshots / Logs

_No response_

### Browser

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions