Skip to content

Commit

Permalink
enable loading on monitor list
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed May 7, 2020
1 parent 55e4c7f commit 9b09009
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ export const MonitorListComponent: React.FC<Props> = ({
<EuiBasicTable
aria-label={labels.getDescriptionLabel(items.length)}
error={error?.message}
// Only set loading to true when there are no items present to prevent the bug outlined in
// in https://github.com/elastic/eui/issues/2393 . Once that is fixed we can simply set the value here to
// loading={loading}
loading={loading && (!items || items.length < 1)}
loading={loading}
isExpandable={true}
hasActions={true}
itemId="monitor_id"
Expand Down

0 comments on commit 9b09009

Please sign in to comment.