소스 검색

admin-panel: bugfix for saving conjunctive check

Christian Kahlau 2 년 전
부모
커밋
c8d595ecde
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ng/src/app/components/service-check-editor/service-check-conjunction/service-check-conjunction.component.ts

+ 1 - 1
ng/src/app/components/service-check-editor/service-check-conjunction/service-check-conjunction.component.ts

@@ -11,6 +11,6 @@ export class ServiceCheckConjunctionComponent {
   @Input() model?: CheckConjunction;
 
   public collect() {
-    return this.adapters.map(adpt => adpt.collect());
+    return { and: this.adapters.map(adpt => adpt.collect()) };
   }
 }