Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Policy-agent skeleton"
[nonrtric.git]
/
dashboard
/
webapp-frontend
/
src
/
app
/
policy-control
/
policy-instance.datasource.ts
diff --git
a/dashboard/webapp-frontend/src/app/policy-control/policy-instance.datasource.ts
b/dashboard/webapp-frontend/src/app/policy-control/policy-instance.datasource.ts
index
c74c9ab
..
53a6239
100644
(file)
--- a/
dashboard/webapp-frontend/src/app/policy-control/policy-instance.datasource.ts
+++ b/
dashboard/webapp-frontend/src/app/policy-control/policy-instance.datasource.ts
@@
-42,9
+42,9
@@
export class PolicyInstanceDataSource extends DataSource<PolicyInstance> {
public rowCount = 1; // hide footer during intial load
constructor(
public rowCount = 1; // hide footer during intial load
constructor(
- private policySvc: PolicyService,
+ private policySvc: PolicyService,
public sort: MatSort,
public sort: MatSort,
- private notificationService: NotificationService,
+ private notificationService: NotificationService,
private policyType: PolicyType) {
super();
}
private policyType: PolicyType) {
super();
}
@@
-95,6
+95,6
@@
export class PolicyInstanceDataSource extends DataSource<PolicyInstance> {
}
}
}
}
-function compare(a: string, b: string, isAsc: boolean) {
+function compare(a: string, b: string, isAsc: boolean) {
return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
}
return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
}