How did this go unnoticed for so long
This commit is contained in:
parent
ee15d21a78
commit
b22acae5dd
@ -1,7 +1,6 @@
|
||||
import {
|
||||
Button,
|
||||
Input,
|
||||
Link,
|
||||
Modal,
|
||||
ModalBody,
|
||||
ModalCloseButton,
|
||||
@ -270,26 +269,26 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
|
||||
</Button>
|
||||
<input id="evidence" type="file" />
|
||||
</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>
|
||||
<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>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user