finished hooking up the inventory adjustment slider when using manual control on the bin page
This commit is contained in:
parent
b8a49197cb
commit
13c15ec195
6 changed files with 169 additions and 26 deletions
|
|
@ -37,7 +37,7 @@ interface Props {
|
|||
asDestination?: boolean;
|
||||
restrictMatching?: boolean;
|
||||
open: boolean;
|
||||
close: () => void;
|
||||
close: (confirmed?: boolean) => void;
|
||||
callback?: (newTransaction?: pond.Transaction) => void;
|
||||
allowAttachmentUploads?: boolean;
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ export default function GrainTransaction(props: Props) {
|
|||
const [filePermission, setFilePermission] = useState(false);
|
||||
|
||||
const closeDialogs = (confirmed: boolean, newTransaction?: pond.Transaction) => {
|
||||
close();
|
||||
close(confirmed);
|
||||
setGrainChangeVal("0");
|
||||
setGrainEntry("0");
|
||||
setIsObject("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue