message: frontend: Refactor away CogOfKind
diff: @@ -9,17 +9,6 @@ const Header = () => <div className="row co-m-table-grid__head">
  <div className="col-lg-3 col-md-3 hidden-sm hidden-xs">Pod Selector</div>
  </div>;
  -const CogOfKind = ({kind, o}) => {
  - const {factory: {Edit, Delete, ModifyLabels, ModifyCount, ModifyPodSelector}} = Cog;
  - const options = [ModifyCount, ModifyPodSelector, ModifyLabels, Edit, Delete].map(f => f(kind, o));
  -
  - return <Cog options={options} key={o.metadata.uid} />;
  -};
  -CogOfKind.propTypes = {
  - kind: React.PropTypes.object.isRequired,
  - o: React.PropTypes.object.isRequired
  -};
  -
  const rowOfKind = (kind) => {
  return class rowOfKindComponent extends React.Component {
  shouldComponentUpdate(nextProps) {
  @@ -29,9 +18,12 @@ const rowOfKind = (kind) => {
  render() {
  const o = this.props.obj;
  + const {factory: {Edit, Delete, ModifyLabels, ModifyCount, ModifyPodSelector}} = Cog;
  + const options = [ModifyCount, ModifyPodSelector, ModifyLabels, Edit, Delete].map(f => f(kindObj(kind), o));
  +
  return <div className="row co-resource-list__item">
  <div className="col-lg-3 col-md-3 col-sm-3 col-xs-6">
  - <CogOfKind o={o} kind={kindObj(kind)} />
  + <Cog options={options} key={o.metadata.uid} />
  <ResourceLink kind={kind} name={o.metadata.name} namespace={o.metadata.namespace} title={o.metadata.uid} />
  </div>
  <div className="col-lg-3 col-md-3 col-sm-5 col-xs-6">
  