mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for optional callback function
This commit is contained in:
@ -389,7 +389,9 @@ export function ApiForm({
|
|||||||
size="xl"
|
size="xl"
|
||||||
radius="sm"
|
radius="sm"
|
||||||
opened={opened}
|
opened={opened}
|
||||||
onClose={onClose}
|
onClose={() => {
|
||||||
|
onClose ? onClose() : null;
|
||||||
|
}}
|
||||||
title={title}
|
title={title}
|
||||||
>
|
>
|
||||||
<Stack>
|
<Stack>
|
||||||
|
Reference in New Issue
Block a user