Skip to content

Commit

Permalink
update expand row in ping list
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Nov 28, 2019
1 parent 80e27b5 commit 51b2021
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const MonitorListComponent = (props: Props) => {
field: 'monitor_id',
name: '',
sortable: true,
width: '40px',
width: '24px',
isExpander: true,
render: (id: string) => {
return (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const PingListComponent = ({
if (hasStatus) {
columns.push({
field: 'http.response.status_code',
align: 'right',
align: 'center',
name: i18n.translate('xpack.uptime.pingList.responseCodeColumnLabel', {
defaultMessage: 'Response code',
}),
Expand All @@ -200,7 +200,7 @@ export const PingListComponent = ({

columns.push({
align: 'right',
width: '40px',
width: '24px',
isExpander: true,
render: (item: Ping) => (
<EuiButtonIcon
Expand Down Expand Up @@ -300,6 +300,8 @@ export const PingListComponent = ({
<EuiBasicTable
loading={loading}
columns={columns}
isExpandable={true}
hasActions={true}
items={pings}
itemId="id"
itemIdToExpandedRowMap={itemIdToExpandedRowMap}
Expand Down

0 comments on commit 51b2021

Please sign in to comment.