You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ui): Extract function to convert plugin payload
Extract the function that was used for the advisor plugins to make it
reusable for other plugin types.
Signed-off-by: Martin Nonnenmacher <[email protected]>
Copy file name to clipboardExpand all lines: ui/src/routes/organizations/$orgId/products/$productId/repositories/$repoId/_repo-layout/create-run/-create-run-utils.ts
+59-57Lines changed: 59 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -556,6 +556,64 @@ export function defaultValues(
556
556
: baseDefaults;
557
557
}
558
558
559
+
/**
560
+
* Convert the plugin config from form values to the payload format expected by the back-end. Configuration for plugins
561
+
* which are not enabled is not included in the payload.
0 commit comments