From 41a19b99109dd9fe259b2642d19bce2aa919dfb0 Mon Sep 17 00:00:00 2001 From: sovanna Date: Tue, 21 Apr 2020 11:18:46 +0900 Subject: [PATCH] fix(issue#16): Shows warning only when needed --- static/js/shop.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/shop.jsx b/static/js/shop.jsx index 78e52e8..7296616 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -680,7 +680,7 @@ class ProductCartItem extends React.PureComponent { )} - {warning && ( + {warning && model.showWarning && (

{warning.message}