mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-11 19:50:17 +00:00
optimize selection option equals
This commit is contained in:
@@ -17,8 +17,9 @@ function optionsEquals(currOpts, prevOpts) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return currOpts.length === prevOpts.length;
|
||||
return false;
|
||||
}
|
||||
const keys = Object.keys(currOpts);
|
||||
for (let i = 0; i < keys.length; i += 1) {
|
||||
|
||||
Reference in New Issue
Block a user