Skip to content

Commit

Permalink
[Lens] Hide "Show more errors" once expanded (#96605) (#96769)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
  • Loading branch information
kibanamachine and dej611 authored Apr 12, 2021
1 parent 40d95e2 commit b12ef2f
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 b12ef2f

Please sign in to comment.