updated the columns for transactions
This commit is contained in:
parent
97bbd41492
commit
d3431f5559
4 changed files with 36 additions and 47 deletions
|
|
@ -424,7 +424,6 @@ export default function BinSettings(props: Props) {
|
|||
};
|
||||
|
||||
const updateBin = () => {
|
||||
console.log("bin settings update")
|
||||
// If initial moisture is updated, so does the timestamp
|
||||
if (form.inventory?.initialMoisture !== bin?.settings.inventory?.initialMoisture) {
|
||||
if (form.inventory) form.inventory.initialTimestamp = moment().format();
|
||||
|
|
@ -451,7 +450,6 @@ export default function BinSettings(props: Props) {
|
|||
form.lowTemp = lowTempC;
|
||||
form.autoGrainNode = autoTopNode;
|
||||
if (form.inventory) form.inventory.inventoryControl = inventoryControl;
|
||||
console.log("bin api update")
|
||||
binAPI
|
||||
.updateBin(bin.key(), form)
|
||||
.then(response => {
|
||||
|
|
@ -839,7 +837,6 @@ export default function BinSettings(props: Props) {
|
|||
row
|
||||
value={inventoryControl}
|
||||
onChange={(_, value) => {
|
||||
console.log(value);
|
||||
setInventoryControl(+value);
|
||||
}}>
|
||||
<FormControlLabel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue