Skip to content

Commit

Permalink
Pass itemIdToExpandedRowMap prop from EuiInMemoryTable to EuiBasicTab…
Browse files Browse the repository at this point in the history
…le, fixes elastic#690
  • Loading branch information
chandlerprall committed May 2, 2018
1 parent cf9475c commit 1ef05a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- Fixed `EuiTableRowCell` from overwriting its child element's `className` [#709](https://github.com/elastic/eui/pull/709)
- Allow `EuiContextMenuPanel`s to update when their `children` changes ([#710](https://github.com/elastic/eui/pull/710))
- `EuiInMemoryTable` now passes `itemIdToExpandedRowMap` prop to `EuiBasicTable`

## [`0.0.44`](https://github.com/elastic/eui/tree/v0.0.44)

Expand Down
2 changes: 2 additions & 0 deletions src/components/basic_table/in_memory_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export class EuiInMemoryTable extends Component {
compressed,
pagination: hasPagination,
sorting: hasSorting,
itemIdToExpandedRowMap,
} = this.props;

const {
Expand Down Expand Up @@ -305,6 +306,7 @@ export class EuiInMemoryTable extends Component {
loading={loading}
noItemsMessage={message}
compressed={compressed}
itemIdToExpandedRowMap={itemIdToExpandedRowMap}
/>
);

Expand Down

0 comments on commit 1ef05a7

Please sign in to comment.