From d31d5340c2bbadbe5c2a03af34a8a4db2bae7612 Mon Sep 17 00:00:00 2001 From: Corinne Krych Date: Sat, 3 Mar 2018 21:34:45 +0100 Subject: [PATCH] feat(archive): reuse Feature --- .../archive/archive-list-component.jsx | 79 +------------------ 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/frontend/src/component/archive/archive-list-component.jsx b/frontend/src/component/archive/archive-list-component.jsx index 444a2fe5ab..43069ec216 100644 --- a/frontend/src/component/archive/archive-list-component.jsx +++ b/frontend/src/component/archive/archive-list-component.jsx @@ -2,8 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router'; import Feature from './../feature/feature-list-item-component'; -import { Icon, Card, List, ListItem, ListItemContent, ListItemAction, Chip } from 'react-mdl'; -//import { Textfield, Menu, MenuItem, Card, CardActions, List, Chip, MenuItemWithIcon, DropdownButton } from 'react-mdl'; +import { Icon, Card, List, ListItem, Chip } from 'react-mdl'; import { styles as commonStyles } from '../common'; import styles from './archive.scss'; @@ -61,82 +60,6 @@ class ArchiveList extends React.PureComponent { return display; } - // render() { - // const { archive, featureMetrics, settings, revive } = this.props; - // archive.forEach(e => { - // e.reviveName = e.name; - // }); - // return ( - //
- //
- // { - // this.setFilter(e.target.value); - // }} - // label="Search" - // style={{ width: '100%' }} - // /> - //
- // - // - // - // this.toggleMetrics()} style={{ width: '168px' }}> - // - // - // - // - // this.setSort(e.target.getAttribute('data-target'))} - // style={{ width: '168px' }} - // > - // - // Name - // - // - // Enabled - // - // - // Created - // - // - // Strategies - // - // - // Metrics - // - // - // - //
- // - // {archive.map((feature, i) => ( - // - // ))} - // - //
- //
- // ); - // } - render() { const { archive, featureMetrics, settings, revive } = this.props;