[bug fix] Fix to #3137 and #3239 (#3240)

* #3137 add the leftover code from #3138 for fixing issue #3137

* #3239 Use slice id as the key instead of sliceName
This commit is contained in:
Shao-Yen "Fred" Cheng
2017-08-04 09:05:50 -07:00
committed by Maxime Beauchemin
parent 0191fa58c8
commit 2ef9bfed20
2 changed files with 7 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ class ControlPanelsContainer extends React.Component {
key={`controlsetrow-${i}`}
controls={controlSets.map(controlName => (
controlName &&
this.props.controls[controlName] &&
<Control
name={controlName}
key={`control-${controlName}`}