Merge "Add tests of PolicyInstanceDialog"
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / policy / no-type-policy-editor / no-type-policy-editor.component.ts
index 5d2398c..877e0e3 100644 (file)
@@ -54,6 +54,7 @@ export class NoTypePolicyEditorComponent implements OnInit {
         this.jsonValidator(),
       ])
     );
+    if (!this.policyJson) this.policyJson = "{}";
   }
 
   get policyJsonTextArea(): AbstractControl {