Skip to content

Commit

Permalink
fix table list view labelledby attribute during loading
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jan 10, 2020
1 parent 0554990 commit 1cc7a0d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@ class TableListView extends React.Component<TableListViewProps, TableListViewSta
className="itemListing__page"
restrictWidth
>
<EuiPageBody aria-labelledby={this.state.hasInitialFetchReturned && this.props.headingId}>
<EuiPageBody
aria-labelledby={this.state.hasInitialFetchReturned ? this.props.headingId : undefined}
>
{this.renderPageContent()}
</EuiPageBody>
</EuiPage>
Expand Down

0 comments on commit 1cc7a0d

Please sign in to comment.