Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
bug(UIKIT-1692,PageHeader): Исправлена передача ключей у действий Pag…
Browse files Browse the repository at this point in the history
…eHeader (#1090)
  • Loading branch information
pan1caisreal authored Aug 12, 2024
1 parent 46bde0a commit 80b80b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ export const ButtonGroupMainActions = <

return (
<Tooltip
key={text}
title={disabled ? disabledReason : note}
withoutContainer={!disabled}
>
<StyledDropdownButton
{...buttonProps}
key={text}
disabled={disabled}
name={text}
>
Expand All @@ -141,10 +141,11 @@ export const ButtonGroupMainActions = <

return (
<Tooltip
key={text}
title={disabled ? disabledReason : note}
withoutContainer={!disabled}
>
<StyledButton {...mainProps} disabled={disabled} key={text}>
<StyledButton {...mainProps} disabled={disabled}>
{text}
</StyledButton>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export const ButtonGroupSecondaryVisibleActions = ({

return (
<Tooltip
key={name}
title={disabled ? disableReason : name}
withoutContainer={!disabled}
>
<IconButton
variant="light"
key={name}
name={name}
disabled={disabled}
{...mainProps}
Expand Down

0 comments on commit 80b80b3

Please sign in to comment.