finished hooking up the inventory adjustment slider when using manual control on the bin page

This commit is contained in:
csawatzky 2026-06-03 12:36:08 -06:00
parent b8a49197cb
commit 13c15ec195
6 changed files with 169 additions and 26 deletions

View file

@ -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("");