venkrao
0
Q:

Link to

<a href="https://examplesite.com" target="_blank" rel="noopener noreferrer">
  Example Link
</a>
5
<tbody>
                        {
                            this.state.categories.map( map_category=>{
                                return (
                                    <tr>
                                    <th scope = "row">1</th>
                                    <td>{map_category.name}</td>
                                    <td>{map_category.active==1?("Active") : ("Inactive") }</td>
                                    <td>{map_category.created_at}</td>                                    
                                    <td>{map_category.updated_at}</td>
                                    <td><Link to={`/category/edit/${map_category.id}`}>Delete</Link></td>
                                    <td><a href = "#" onClick = {this.onDelete.bind(this,map_category.id)}>Delete</a></td>
                                    </tr>
                                )
                            })                        
                        }                      
                    </tbody>
0

New to Communities?

Join the community