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

selectedRows is always an array (#3129)

parent 9037106f
......@@ -405,7 +405,7 @@ class TableList extends PureComponent {
const { dispatch } = this.props;
const { selectedRows } = this.state;
if (!selectedRows) return;
if (selectedRows.length === 0) return;
switch (e.key) {
case 'remove':
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