diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-22 05:32:20 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-03-22 05:32:20 -0400 |
| commit | dfe70d4f21a8122a6608e127203de2572a9a25fb (patch) | |
| tree | 64f13e88907f385a25a8a9d834568e71dd0a60a1 /src/client/views/nodes/HistogramBox.tsx | |
| parent | 3eefc8c7e901242ac6b7614bf1163858568d53b0 (diff) | |
Moved active schema out of main
Diffstat (limited to 'src/client/views/nodes/HistogramBox.tsx')
| -rw-r--r-- | src/client/views/nodes/HistogramBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/HistogramBox.tsx b/src/client/views/nodes/HistogramBox.tsx index 223fdf0d8..cc43899c1 100644 --- a/src/client/views/nodes/HistogramBox.tsx +++ b/src/client/views/nodes/HistogramBox.tsx @@ -4,11 +4,11 @@ import { FieldView, FieldViewProps } from './FieldView'; import "./VideoBox.scss"; import { observable, reaction } from "mobx"; import { HistogramOperation } from "../../northstar/operations/HistogramOperation"; -import { Main } from "../Main"; import { ColumnAttributeModel } from "../../northstar/core/attribute/AttributeModel"; import { AttributeTransformationModel } from "../../northstar/core/attribute/AttributeTransformationModel"; import { AggregateFunction, HistogramResult, DoubleValueAggregateResult } from "../../northstar/model/idea/idea"; import { ModelHelpers } from "../../northstar/model/ModelHelpers"; +import { CurrentUserUtils } from "../../../server/authentication/models/current_user_utils"; @observer export class HistogramBox extends React.Component<FieldViewProps> { @@ -23,7 +23,7 @@ export class HistogramBox extends React.Component<FieldViewProps> { _histoOp?: HistogramOperation; componentDidMount() { - Main.Instance.GetAllNorthstarColumnAttributes().map(a => { + CurrentUserUtils.GetAllNorthstarColumnAttributes().map(a => { if (a.displayName == this.props.doc.Title) { var atmod = new ColumnAttributeModel(a); this._histoOp = new HistogramOperation(new AttributeTransformationModel(atmod, AggregateFunction.None), |
