Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

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

Meier Lukas3183914a1502
diff --git a/packages/widgets/src/_inputs/widget-app-input.tsx b/packages/widgets/src/_inputs/widget-app-input.tsx
index 4640a7889..933f7daf9 100644
--- a/packages/widgets/src/_inputs/widget-app-input.tsx
+++ b/packages/widgets/src/_inputs/widget-app-input.tsx
@@ -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);
});
},
})