Commit 3c97e964 authored by ζŽζ–‡ε―Œ's avatar ζŽζ–‡ε―Œ Committed by ι™ˆεΈ…

selectedRows is always an array (#3129)

parent 9037106f
...@@ -405,7 +405,7 @@ class TableList extends PureComponent { ...@@ -405,7 +405,7 @@ class TableList extends PureComponent {
const { dispatch } = this.props; const { dispatch } = this.props;
const { selectedRows } = this.state; const { selectedRows } = this.state;
if (!selectedRows) return; if (selectedRows.length === 0) return;
switch (e.key) { switch (e.key) {
case 'remove': case 'remove':
dispatch({ dispatch({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment