Merge branch 'benphelps:main' into main

pull/118/head
Chris 2 years ago committed by GitHub
commit ffe89b02e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,13 +110,18 @@ export function cleanServiceGroups(groups) {
const cleanedService = { ...service };
if (cleanedService.widget) {
const { type } = cleanedService.widget;
const { type, server, container } = cleanedService.widget;
cleanedService.widget = {
type,
service_name: service.name,
service_group: serviceGroup.name,
};
if (type === "docker") {
cleanedService.widget.server = server;
cleanedService.widget.container = container;
}
}
return cleanedService;

Loading…
Cancel
Save