()
| 354 | dispatchFetch({type: 'loading'}, load); |
| 355 | }, |
| 356 | loadMore() { |
| 357 | // Ignore if already loading more or if performing server side filtering. |
| 358 | if ( |
| 359 | data.state === 'loading' || |
| 360 | data.state === 'loadingMore' || |
| 361 | data.state === 'filtering' || |
| 362 | data.cursor == null |
| 363 | ) { |
| 364 | return; |
| 365 | } |
| 366 | |
| 367 | dispatchFetch({type: 'loadingMore'}, load); |
| 368 | }, |
| 369 | sort(sortDescriptor: SortDescriptor) { |
| 370 | dispatchFetch( |
| 371 | {type: 'sorting', sortDescriptor}, |
nothing calls this directly
no test coverage detected