Fix product link in stock panel.

Thanks @Aljullu

Co-Authored-By: jeffstieler <jeff.m.stieler@gmail.com>
This commit is contained in:
Albert Juhé Lluveras 2019-04-12 08:15:58 -06:00 committed by GitHub
parent 1ed5a559bc
commit 164bae3075
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class ProductStockCard extends Component {
render() { render() {
const { product } = this.props; const { product } = this.props;
const title = ( const title = (
<Link href={ 'post.php?action=edit&post=' + product.parent_id || product.id } type="wp-admin"> <Link href={ 'post.php?action=edit&post=' + ( product.parent_id || product.id ) } type="wp-admin">
{ product.name } { product.name }
</Link> </Link>
); );