diff --git a/src/models/Bin.ts b/src/models/Bin.ts index 1b855a8..603a9ce 100644 --- a/src/models/Bin.ts +++ b/src/models/Bin.ts @@ -126,7 +126,6 @@ export class Bin { } public bushels(): number { - console.log(this) let control = this.settings.inventory?.inventoryControl; let bushels = this.settings.inventory?.grainBushels || 0 if (control === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_AUTOMATIC_LIDAR || @@ -140,7 +139,8 @@ export class Bin { let fill = 0; if (this.settings.inventory && this.settings.specs) { let bushels = this.settings.inventory.grainBushels - if (this.settings.inventory.inventoryControl === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_AUTOMATIC_LIDAR){ + if (this.settings.inventory.inventoryControl === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_AUTOMATIC_LIDAR || + this.settings.inventory.inventoryControl === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_LIBRACART){ bushels = this.status.grainBushels } fill = Math.round( diff --git a/src/pages/LibraCart.tsx b/src/pages/LibraCart.tsx index cbb006f..4e93012 100644 --- a/src/pages/LibraCart.tsx +++ b/src/pages/LibraCart.tsx @@ -28,7 +28,6 @@ export default function LibraCart() { .listAccounts(0, 0, as) .then(resp => { let tempOrgs: Map = new Map(); - console.log(resp) resp.data.accounts.forEach(org => { let organization = pond.LibraCartAccount.fromObject(org); tempOrgs.set(organization.key, organization);