Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Apr 3, 2023
1 parent 9ee979e commit 267eb84
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions x-pack/plugins/cases/public/components/user_actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ import { useLastPageUserActions } from './use_user_actions_last_page';
import { ShowMoreButton } from './show_more_button';
import { useLastPage } from './use_last_page';

const getIconsCss = (
hasNextPage: boolean | undefined,
euiTheme: EuiThemeComputed<{}>
): string => {
const getIconsCss = (hasNextPage: boolean | undefined, euiTheme: EuiThemeComputed<{}>): string => {
const customSize = hasNextPage
? {
showMoreSectionSize: euiTheme.size.xxxl,
Expand Down Expand Up @@ -194,7 +191,15 @@ export const UserActions = React.memo((props: UserActionTreeProps) => {
<ShowMoreButton onShowMoreClick={handleShowMore} isLoading={isFetchingNextPage} />
)}
{lastPageUserActions?.length ? (
<EuiFlexItem {...(!hasNextPage ? {css: css`margin-top: 24px`} : {})}>
<EuiFlexItem
{...(!hasNextPage
? {
css: css`
margin-top: 24px;
`,
}
: {})}
>
<UserActionsList
{...props}
caseUserActions={lastPageUserActions}
Expand Down

0 comments on commit 267eb84

Please sign in to comment.