diff --git a/packages/netlify-cms-core/src/components/Editor/EditorToolbar.js b/packages/netlify-cms-core/src/components/Editor/EditorToolbar.js index e1f991de..60f7bb23 100644 --- a/packages/netlify-cms-core/src/components/Editor/EditorToolbar.js +++ b/packages/netlify-cms-core/src/components/Editor/EditorToolbar.js @@ -401,12 +401,12 @@ class EditorToolbar extends React.Component { onChangeStatus('DRAFT')} - icon={currentStatus === status.get('DRAFT') && 'check'} + icon={currentStatus === status.get('DRAFT') ? 'check' : null} /> onChangeStatus('PENDING_REVIEW')} - icon={currentStatus === status.get('PENDING_REVIEW') && 'check'} + icon={currentStatus === status.get('PENDING_REVIEW') ? 'check' : null} /> {useOpenAuthoring ? ( '' @@ -414,7 +414,7 @@ class EditorToolbar extends React.Component { onChangeStatus('PENDING_PUBLISH')} - icon={currentStatus === status.get('PENDING_PUBLISH') && 'check'} + icon={currentStatus === status.get('PENDING_PUBLISH') ? 'check' : null} /> )}