Merge pull request #575 from react-bootstrap-table/bugfix/558

fix #558
This commit is contained in:
Allen 2018-09-29 17:17:44 +08:00 committed by GitHub
commit 8e087329b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ const HeaderCell = (props) => {
if (headerStyle) {
cellStyle = _.isFunction(headerStyle) ? headerStyle(column, index) : headerStyle;
cellStyle = cellStyle ? { ...cellStyle } : cellStyle;
}
if (headerTitle) {