mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-07-03 23:50:09 +00:00
fix #185
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default ExtendBase =>
|
||||
class ColumnResolver extends ExtendBase {
|
||||
visibleColumnSize() {
|
||||
return this.props.columns.length;
|
||||
return this.props.columns.filter(c => !c.hidden).length;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user