updated the bin yard api with as fix
This commit is contained in:
parent
e2f5eb0557
commit
76744c1b6f
5 changed files with 26 additions and 22 deletions
|
|
@ -344,7 +344,7 @@ export default function BinSettings(props: Props) {
|
|||
setBinYardOptions(y);
|
||||
} else {
|
||||
binYardAPI
|
||||
.listBinYards(350, 0, "desc", as ? as : userID)
|
||||
.listBinYards(350, 0, "desc", as ? as : userID, undefined, undefined, undefined, as)
|
||||
.then(resp => {
|
||||
let data = resp.data.yard ? resp.data.yard : [];
|
||||
let yards: Option[] = data.map((yard: pond.BinYard) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue