We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d335626 commit 2ecfb6fCopy full SHA for 2ecfb6f
pages/admin/products.js
@@ -238,7 +238,7 @@ class Products extends React.Component {
238
<td>{Formatter.formatCurrency(p.mrp)}</td>
239
<td>{Formatter.formatCurrency(p.list_price)}</td>
240
<td>{p.display_slug}</td>
241
- <td>{p.listed && "Yes"}{!p.listed && "No"}</td>
+ <td>{ JSON.parse(p.listed) ? "Yes" : "No" }</td>
242
<td>
243
<button
244
className={"button-solid btn btn-default"}
0 commit comments