Skip to content

Commit

Permalink
[Lens] Hide "Show more errors" once expanded (elastic#96605)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
dej611 and kibanamachine committed Apr 12, 2021
1 parent 4be6268 commit 891bbaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ export const InnerVisualizationWrapper = ({
<EuiFlexItem>
<EuiEmptyPrompt
actions={
visibleErrorMessage ? (
visibleErrorMessage && !localState.expandError ? (
<EuiButtonEmpty
onClick={() => {
setLocalState((prevState: WorkspaceState) => ({
Expand Down

0 comments on commit 891bbaf

Please sign in to comment.