From 460c0fc3fda425808b13c720f385b6da64b81b17 Mon Sep 17 00:00:00 2001 From: YULIUS KURNIAWAN KRISTIANTO Date: Thu, 12 Apr 2018 06:41:53 +0700 Subject: [PATCH] Show/Hide Price on Publish Form --- src/renderer/component/publishForm/view.jsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/renderer/component/publishForm/view.jsx b/src/renderer/component/publishForm/view.jsx index 138313e71..fa858096d 100644 --- a/src/renderer/component/publishForm/view.jsx +++ b/src/renderer/component/publishForm/view.jsx @@ -394,14 +394,14 @@ class PublishForm extends React.PureComponent { disabled={formDisabled} onChange={() => updatePublishForm({ contentIsFree: false })} /> - - updatePublishForm({ price: newPrice })} - disabled={formDisabled || contentIsFree} - /> + {!contentIsFree && ( + updatePublishForm({ price: newPrice })} + /> + )} {price.currency !== 'LBC' && (

{__( -- 2.45.2