Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ const AddStreamEntries = (props: Props) => {
return
}

if (!lastEntry.id) return
if (!lastEntry?.id) {
setEntryIdError('')
return
}

if (entryID === '*') {
setEntryIdError('')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ const Actions = (props: Props) => {
/>
</EuiFlexItem>
<EuiFlexItem>

<EuiPopover
ownFocus
anchorPosition="downRight"
Expand Down Expand Up @@ -153,14 +152,19 @@ const Actions = (props: Props) => {
closePopover={closePopoverClear}
panelPaddingSize="m"
button={(
<EuiButtonIcon
iconType="eraser"
className={styles.icon}
color="primary"
aria-label="Clear Slow Log"
onClick={() => showClearPopover()}
data-testid="clear-btn"
/>
<EuiToolTip
position="left"
anchorClassName={styles.icon}
content="Clear Slow Log"
>
<EuiButtonIcon
iconType="eraser"
color="primary"
aria-label="Clear Slow Log"
onClick={() => showClearPopover()}
data-testid="clear-btn"
/>
</EuiToolTip>
)}
>
{ToolTipContent}
Expand Down