How did this go unnoticed for so long
This commit is contained in:
parent
ee15d21a78
commit
b22acae5dd
@ -1,7 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
Input,
|
Input,
|
||||||
Link,
|
|
||||||
Modal,
|
Modal,
|
||||||
ModalBody,
|
ModalBody,
|
||||||
ModalCloseButton,
|
ModalCloseButton,
|
||||||
@ -270,26 +269,26 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
|
|||||||
</Button>
|
</Button>
|
||||||
<input id="evidence" type="file" />
|
<input id="evidence" type="file" />
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
|
<ModalFooter>
|
||||||
|
<Button onClick={reset}>Cancel</Button>
|
||||||
|
<Button
|
||||||
|
colorScheme="blue"
|
||||||
|
disabled={
|
||||||
|
!(
|
||||||
|
Object.entries(actionMap).length &&
|
||||||
|
(document.getElementById("evidence") as HTMLInputElement).files
|
||||||
|
?.length
|
||||||
|
)
|
||||||
|
}
|
||||||
|
ml="8px"
|
||||||
|
onClick={async () => await submit()}
|
||||||
|
isLoading={loading}
|
||||||
|
loadingText="Submitting..."
|
||||||
|
>
|
||||||
|
Submit
|
||||||
|
</Button>
|
||||||
|
</ModalFooter>
|
||||||
</ModalContent>
|
</ModalContent>
|
||||||
<ModalFooter>
|
|
||||||
<Button onClick={reset}>Cancel</Button>
|
|
||||||
<Button
|
|
||||||
colorScheme="blue"
|
|
||||||
disabled={
|
|
||||||
!(
|
|
||||||
Object.entries(actionMap).length &&
|
|
||||||
(document.getElementById("evidence") as HTMLInputElement).files
|
|
||||||
?.length
|
|
||||||
)
|
|
||||||
}
|
|
||||||
ml="8px"
|
|
||||||
onClick={async () => await submit()}
|
|
||||||
isLoading={loading}
|
|
||||||
loadingText="Submitting..."
|
|
||||||
>
|
|
||||||
Submit
|
|
||||||
</Button>
|
|
||||||
</ModalFooter>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user