mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-01 09:31:34 +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