Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BugFix - Enable Controlpanel to start even when gateway is Unavailable"
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
policy-control
/
policy-control.component.ts
diff --git
a/webapp-frontend/src/app/policy-control/policy-control.component.ts
b/webapp-frontend/src/app/policy-control/policy-control.component.ts
index
3a15226
..
5ff7e88
100644
(file)
--- a/
webapp-frontend/src/app/policy-control/policy-control.component.ts
+++ b/
webapp-frontend/src/app/policy-control/policy-control.component.ts
@@
-37,7
+37,7
@@
class PolicyTypeInfo {
}
@Component({
}
@Component({
- selector: '
rd
-policy-control',
+ selector: '
nrcp
-policy-control',
templateUrl: './policy-control.component.html',
styleUrls: ['./policy-control.component.scss'],
animations: [
templateUrl: './policy-control.component.html',
styleUrls: ['./policy-control.component.scss'],
animations: [
@@
-89,7
+89,7
@@
export class PolicyControlComponent implements OnInit {
}
private isSchemaEmpty(policyTypeSchema: PolicyTypeSchema): boolean {
}
private isSchemaEmpty(policyTypeSchema: PolicyTypeSchema): boolean {
- return
Object.keys(policyTypeSchema.schemaObject).length === 0
;
+ return
policyTypeSchema.schemaObject === '{}'
;
}
getPolicyTypeInfo(policyTypeSchema: PolicyTypeSchema): PolicyTypeInfo {
}
getPolicyTypeInfo(policyTypeSchema: PolicyTypeSchema): PolicyTypeInfo {