+ getName(policyType: PolicyType): string {
+ const title = JSON.parse(policyType.schema).title;
+ if (title) { return title; }
+ return policyType.name;
+ }
+
+ isInstancesShown(policyType: PolicyType): boolean {
+ return this.getPolicyTypeInfo(policyType).isExpanded.getValue();