Procházet zdrojové kódy

admin-panel: bugfix for saving conjunctive check

Christian Kahlau před 2 roky
rodič
revize
c8d595ecde

+ 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()) };
   }
 }