Skip to content

Commit 6147bc5

Browse files
Merge pull request #116 from coding-blocks/product_panel_fix
listed column fix in products view table
2 parents 393df9b + 2ecfb6f commit 6147bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/admin/products.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class Products extends React.Component {
238238
<td>{Formatter.formatCurrency(p.mrp)}</td>
239239
<td>{Formatter.formatCurrency(p.list_price)}</td>
240240
<td>{p.display_slug}</td>
241-
<td>{p.listed && "Yes"}{!p.listed && "No"}</td>
241+
<td>{ JSON.parse(p.listed) ? "Yes" : "No" }</td>
242242
<td>
243243
<button
244244
className={"button-solid btn btn-default"}

0 commit comments

Comments
 (0)