File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -342,13 +342,6 @@ class ArrayField extends Component {
342342 hasToolbar ?
343343 < div className = "col-xs-2 array-item-remove text-right" >
344344 < div className = "btn-group" style = { { display : "flex" } } >
345- { removable ?
346- < button type = "button" className = "btn btn-danger"
347- style = { { flex : 1 , paddingLeft : 6 , paddingRight : 6 } }
348- tabIndex = "-1"
349- disabled = { disabled || readonly }
350- onClick = { this . onDropIndexClick ( index ) } > ✖︎</ button >
351- : null }
352345 { canMoveUp || canMoveDown ?
353346 < button type = "button" className = "btn btn-default"
354347 style = { { flex : 1 , paddingLeft : 6 , paddingRight : 6 } }
@@ -363,6 +356,13 @@ class ArrayField extends Component {
363356 disabled = { disabled || readonly || ! canMoveDown }
364357 onClick = { this . onReorderClick ( index , index + 1 ) } > ⬇</ button >
365358 : null }
359+ { removable ?
360+ < button type = "button" className = "btn btn-danger"
361+ style = { { flex : 1 , paddingLeft : 6 , paddingRight : 6 } }
362+ tabIndex = "-1"
363+ disabled = { disabled || readonly }
364+ onClick = { this . onDropIndexClick ( index ) } > ✖︎</ button >
365+ : null }
366366 </ div >
367367 </ div >
368368 : null
You can’t perform that action at this time.
0 commit comments