fix(apps): creation on the fly broken (#5605)

This commit is contained in:
Meier Lukas authored and GitHub committed 2026-05-07 20:59:12 +02:00
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);
});
},
})