Skip to content

Commit

Permalink
Endpoint Aggregation form (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron authored Sep 9, 2023
1 parent 4359672 commit bffd767
Show file tree
Hide file tree
Showing 12 changed files with 83 additions and 354 deletions.
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"react-dom": "^16.14.0",
"react-plotly.js": "^2.6.0",
"react-quill": "^1.3.5",
"react-select": "~4.3.1",
"react-tabs": "~4.3.0",
"slugify": "^1.6.6",
"sortablejs": "~1.15.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/shared/components/SelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SelectInput extends Component {
{errors} = this.props;

if (this.props.fieldOnly) {
return this.renderField("react-select", fieldId);
return this.renderField(fieldId);
}
return (
<div className="form-group">
Expand Down
139 changes: 0 additions & 139 deletions frontend/summary/summaryForms/EndpointAggregationFormReact.js

This file was deleted.

5 changes: 1 addition & 4 deletions frontend/summary/summaryForms/VisualForm.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import CrossviewForm from "./CrossviewForm";
import {EndpointAggregationShim} from "./EndpointAggregationFormReact";
import RoBBarchartForm from "./RoBBarchartForm";
import RoBHeatmapForm from "./RoBHeatmapForm";

class VisualForm {
static create(visual_type, $el, config) {
var Cls;
switch (visual_type) {
case 0:
Cls = EndpointAggregationShim;
break;
case 1:
Cls = CrossviewForm;
break;
Expand All @@ -19,6 +15,7 @@ class VisualForm {
case 3:
Cls = RoBBarchartForm;
break;
case 0:
case 4:
case 5:
case 6:
Expand Down
Loading

0 comments on commit bffd767

Please sign in to comment.