diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index 03b5c0e6c..6a5bb67f1 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -223,15 +223,8 @@ class Index extends Component { this.getListData(page, limit, undefined, sort, project_type, category_id ,e === 0 ?undefined:e); } - filterOption=(input,option)=>{ - // console.log(input,option); - let o = option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0; - console.log(o); - } - - render() { - const { current_user } = this.props; - const menu = ( + menu =()=> { + return(
) - const newItem = ( + } + + newItem = ()=>{ + return( ) + } + + pagination=(total,limit,page)=>{ + return( + total && total > limit && +@@ -333,14 +336,14 @@ class Index extends Component {