aboutsummaryrefslogtreecommitdiff
path: root/src/client/northstar/model/ModelHelpers.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-26 09:28:35 -0400
committerbob <bcz@cs.brown.edu>2019-03-26 09:28:35 -0400
commit731cab330389b1730d9700b5452ac75975b79b3c (patch)
treebbce49155a0879b9e607f5306bd208c3f169df2e /src/client/northstar/model/ModelHelpers.ts
parent970ecdb7158340cec2ea9e9a381d86afa8a59430 (diff)
minor restructure
Diffstat (limited to 'src/client/northstar/model/ModelHelpers.ts')
-rw-r--r--src/client/northstar/model/ModelHelpers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/northstar/model/ModelHelpers.ts b/src/client/northstar/model/ModelHelpers.ts
index 914e03255..8de0bd260 100644
--- a/src/client/northstar/model/ModelHelpers.ts
+++ b/src/client/northstar/model/ModelHelpers.ts
@@ -64,10 +64,10 @@ export class ModelHelpers {
if (aggParams) {
aggregateParameters.push(aggParams);
- var margin = new MarginAggregateParameters();
+ var margin = new MarginAggregateParameters()
+ margin.aggregateFunction = agg.AggregateFunction;
margin.attributeParameters = ModelHelpers.GetAttributeParameters(agg.AttributeModel);
margin.distinctAttributeParameters = CurrentUserUtils.ActiveSchema!.distinctAttributeParameters;
- margin.aggregateFunction = agg.AggregateFunction;
aggregateParameters.push(margin);
}
});