fix(apps): creation on the fly broken (#5605)
This commit is contained in:
1 parent
62be81ea60
commit
3183914a15
1 file changed
+2
-2
@@ -69,9 +69,9 @@ export const WidgetAppInput = ({ property, kind }: CommonWidgetInputProps<"app">
|
||||
variant="default"
|
||||
onClick={() =>
|
||||
openModal({
|
||||
onClose(createdAppId) {
|
||||
onClose({ id }) {
|
||||
void refetch().then(() => {
|
||||
form.setFieldValue(`options.${property}`, createdAppId);
|
||||
form.setFieldValue(`options.${property}`, id);
|
||||
});
|
||||
},
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user