diff --git a/backend/app/service/app.go b/backend/app/service/app.go index da911590c..61c7034c1 100644 --- a/backend/app/service/app.go +++ b/backend/app/service/app.go @@ -397,7 +397,7 @@ func (a AppService) Install(ctx context.Context, req request.AppInstallCreate) ( } index++ } - if app.Limit == 0 && appInstall.Name != serviceName { + if app.Limit == 0 && appInstall.Name != serviceName && len(servicesMap) == 1 { servicesMap[appInstall.Name] = servicesMap[serviceName] delete(servicesMap, serviceName) serviceName = appInstall.Name