Skip to content

Commit

Permalink
[Lens] Show edit/delete button while field stats are loading (elastic…
Browse files Browse the repository at this point in the history
…#138899)

Closes elastic#106823

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
2 people authored and Mpdreamz committed Sep 6, 2022
1 parent b7622f8 commit 18d6fce
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,12 @@ function FieldItemPopoverContents(props: State & FieldItemProps) {
let title = <></>;

if (props.isLoading) {
return <EuiLoadingSpinner />;
return (
<>
<EuiPopoverTitle>{panelHeader}</EuiPopoverTitle>
<EuiLoadingSpinner />
</>
);
} else if (field.type.includes('range')) {
return (
<>
Expand Down

0 comments on commit 18d6fce

Please sign in to comment.