[ML] Ensure loading message is present on jobs load (#27316) (#27320)

* Update loading message jobsList

* Update loading message
This commit is contained in:
Melissa Alvarez 2018-12-17 12:32:19 -06:00 committed by GitHub
parent 7c2e722b3c
commit 982f99f410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,6 +254,7 @@ class JobsListUI extends Component {
return (
<EuiBasicTable
loading={loading === true}
noItemsMessage={loading ? 'Loading jobs...' : 'No jobs found'}
itemId="id"
className={`jobs-list-table ${selectedJobsClass}`}
items={pageOfItems}