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

* Update loading message jobsList

* Update loading message
This commit is contained in:
Melissa Alvarez 2018-12-17 11:40:19 -06:00 committed by GitHub
parent d7a5e631d5
commit 4cfd7f4a59
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}