bugfix: Don't try to show if entry is partial
This commit is contained in:
parent
23ab740d53
commit
9b97a13cc9
@ -10,8 +10,7 @@ export default class ControlPane extends Component {
|
||||
const widget = resolveWidget(field.get('widget'));
|
||||
const fieldName = field.get('name');
|
||||
const value = entry.getIn(['data', fieldName]);
|
||||
if (entry.size === 0) return null;
|
||||
|
||||
if (entry.size === 0 || entry.get('partial') === true) return null;
|
||||
return (
|
||||
<div className={styles.control}>
|
||||
<label className={styles.label} htmlFor={fieldName}>{field.get('label')}</label>
|
||||
|
@ -9,6 +9,7 @@
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
|
Loading…
x
Reference in New Issue
Block a user