Commit 6692c9fa authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH
Browse files

rename detail to editor

parent 613d1887
......@@ -25,8 +25,8 @@ import {
import type { BeatObject } from '@helpers/beat';
import DataformatDetail from './DataformatDetail.jsx';
import AlgorithmDetail from './AlgorithmDetail.jsx';
import DataformatEditor from './DataformatEditor.jsx';
import AlgorithmEditor from './AlgorithmEditor.jsx';
type Props = {
match: any,
......@@ -97,8 +97,8 @@ class EntityDetail extends React.Component<Props, State> {
</Nav>
<TabContent activeTab={this.state.activeTab}>
<TabPane tabId='0'>
{ this.props.match.params.entity === 'algorithm' && <AlgorithmDetail data={this.props.getEntityObject()} /> }
{ this.props.match.params.entity === 'dataformat' && <DataformatDetail data={this.props.getEntityObject()} /> }
{ this.props.match.params.entity === 'algorithm' && <AlgorithmEditor data={this.props.getEntityObject()} /> }
{ this.props.match.params.entity === 'dataformat' && <DataformatEditor data={this.props.getEntityObject()} /> }
</TabPane>
<TabPane tabId='1'>
</TabPane>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment