Skip to content

Commit

Permalink
Make button appear clickable, change state of empty text (#73496)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
phillipb and elasticmachine committed Jul 29, 2020
1 parent f1c0893 commit 78aa24d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ export function SavedViewsToolbarControls<ViewState>(props: Props<ViewState>) {
/>
</EuiFlexItem>
<EuiFlexItem>
<EuiDescriptionList compressed={true} onClick={showSavedViewMenu}>
<EuiDescriptionList
style={{ cursor: 'pointer' }}
compressed={true}
onClick={showSavedViewMenu}
>
<EuiDescriptionListTitle>
<FormattedMessage
defaultMessage="Current view"
Expand All @@ -172,7 +176,7 @@ export function SavedViewsToolbarControls<ViewState>(props: Props<ViewState>) {
{currentView
? currentView.name
: i18n.translate('xpack.infra.savedView.unknownView', {
defaultMessage: 'Unknown',
defaultMessage: 'No view seleted',
})}
</EuiDescriptionListDescription>
</EuiDescriptionList>
Expand Down

0 comments on commit 78aa24d

Please sign in to comment.