Fix product link in stock panel.
Thanks @Aljullu Co-Authored-By: jeffstieler <jeff.m.stieler@gmail.com>
This commit is contained in:
parent
1ed5a559bc
commit
164bae3075
|
@ -116,7 +116,7 @@ class ProductStockCard extends Component {
|
|||
render() {
|
||||
const { product } = this.props;
|
||||
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 }
|
||||
</Link>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue