fixed the temp and humidity on the bin cards in the drawer on the map, also fixed the drawer loading bins not in the yard
This commit is contained in:
parent
5f9d39e26d
commit
446147d4d5
4 changed files with 9 additions and 18 deletions
|
|
@ -388,6 +388,8 @@ export default function BinProvider(props: PropsWithChildren<Props>) {
|
|||
(keys ? "&keys=" + keys.join(",") : "") +
|
||||
(types ? "&types=" + types.join(",") : "")
|
||||
|
||||
console.log(url)
|
||||
|
||||
return new Promise<AxiosResponse<pond.ListBinsAndDataResponse>>((resolve, reject)=>{
|
||||
get<pond.ListBinsAndDataResponse>(pondURL(url)).then(resp => {
|
||||
resp.data = pond.ListBinsAndDataResponse.fromObject(resp.data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue