Commit aec5368 1 parent a8c373a commit aec5368 Copy full SHA for aec5368
File tree 3 files changed +18
-19
lines changed
3 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 40
40
}
41
41
</script >
42
42
<script src =" //shadow.elemecdn.com/npm/babel-polyfill@6.26.0/dist/polyfill.min.js" ></script >
43
- <script src =" //shadow.elemecdn.com/npm/react@16.8.3 /umd/react.development.js" ></script >
44
- <script src =" //shadow.elemecdn.com/npm/react-dom@16.8.3 /umd/react-dom.development.js" ></script >
43
+ <script src =" //shadow.elemecdn.com/npm/react@16.0.0 /umd/react.development.js" ></script >
44
+ <script src =" //shadow.elemecdn.com/npm/react-dom@16.0.0 /umd/react-dom.development.js" ></script >
45
45
<script src =" //shadow.elemecdn.com/npm/moment@2.24.0/min/moment-with-locales.js" ></script >
46
46
<script >
47
47
window .mountNode = document .getElementById (' mount-node' );
Original file line number Diff line number Diff line change 14
14
< / style>
15
15
< % } %>
16
16
<script src =" //shadow.elemecdn.com/npm/babel-polyfill@6.26.0/dist/polyfill.min.js" ></script >
17
- <script src =" //shadow.elemecdn.com/npm/react@16.8.3 /umd/react.development.js" ></script >
18
- <script src =" //shadow.elemecdn.com/npm/react-dom@16.8.3 /umd/react-dom.development.js" ></script >
17
+ <script src =" //shadow.elemecdn.com/npm/react@16.0.0 /umd/react.development.js" ></script >
18
+ <script src =" //shadow.elemecdn.com/npm/react-dom@16.0.0 /umd/react-dom.development.js" ></script >
19
19
<script src =" //shadow.elemecdn.com/npm/moment@2.24.0/min/moment-with-locales.js" ></script >
20
20
</head >
21
21
<body >
Original file line number Diff line number Diff line change @@ -173,21 +173,20 @@ export default function selection(BaseComponent) {
173
173
if ( checked ) {
174
174
indeterminate = false ;
175
175
}
176
- return (
177
- < React . Fragment >
178
- { mode === 'multiple' ? (
179
- < Checkbox
180
- indeterminate = { indeterminate }
181
- aria-label = { locale . selectAll }
182
- checked = { checked }
183
- onChange = { onChange }
184
- { ...attrs }
185
- { ...userAttrs }
186
- />
187
- ) : null }
188
- { rowSelection . titleAddons && rowSelection . titleAddons ( ) }
189
- </ React . Fragment >
190
- ) ;
176
+ return [
177
+ mode === 'multiple' ? (
178
+ < Checkbox
179
+ key = "_total"
180
+ indeterminate = { indeterminate }
181
+ aria-label = { locale . selectAll }
182
+ checked = { checked }
183
+ onChange = { onChange }
184
+ { ...attrs }
185
+ { ...userAttrs }
186
+ />
187
+ ) : null ,
188
+ rowSelection . titleAddons && rowSelection . titleAddons ( ) ,
189
+ ] ;
191
190
} ;
192
191
193
192
renderSelectionBody = ( value , index , record ) => {
You can’t perform that action at this time.
0 commit comments