mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
* #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:
parent
0191fa58c8
commit
2ef9bfed20
@ -129,9 +129,14 @@ class SliceAdder extends React.Component {
|
||||
height="auto"
|
||||
>
|
||||
<TableHeaderColumn
|
||||
dataField="sliceName"
|
||||
dataField="id"
|
||||
isKey
|
||||
dataSort
|
||||
hidden
|
||||
/>
|
||||
<TableHeaderColumn
|
||||
dataField="sliceName"
|
||||
dataSort
|
||||
>
|
||||
Name
|
||||
</TableHeaderColumn>
|
||||
|
@ -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}`}
|
||||
|
Loading…
Reference in New Issue
Block a user