hotfix for bins page where it was using the wrong inventory to determine empty when using auto lidar, also changing the feature for libra cart to have a dash when being added as that is what is being checked for in the router and navigator
This commit is contained in:
parent
274ca2ea40
commit
9de058f6dd
3 changed files with 3 additions and 2 deletions
|
|
@ -345,6 +345,7 @@ export default function Bins(props: Props) {
|
|||
let b = resp.data.bins.map(b => Bin.any(b));
|
||||
b.forEach(bin => {
|
||||
if (bin.empty()) {
|
||||
console.log(bin.name())
|
||||
empty.push(bin);
|
||||
} else if (bin.storage() === pond.BinStorage.BIN_STORAGE_FERTILIZER) {
|
||||
fert.push(bin);
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ export default function Users() {
|
|||
"marketplace",
|
||||
"installer",
|
||||
"cnhi",
|
||||
"libracart"
|
||||
"libra-cart"
|
||||
].sort();
|
||||
|
||||
const [rows, setRows] = useState<User[]>([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue