Skip to content

Commit

Permalink
Merge pull request #3640 from 3scale/THREESCALE-10506_toolbar_shared
Browse files Browse the repository at this point in the history
⚛️ Fix prop `isShared`
  • Loading branch information
josemigallas authored Dec 14, 2023
2 parents 8bd9aee + 152dee4 commit ec82abc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/javascript/src/Common/components/TableToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ const TableToolbar: FunctionComponent<Props> = ({
<OverflowMenu breakpoint="xl" breakpointReference={toolbarRef}>
<OverflowMenuContent>
<OverflowMenuGroup groupType="button">
{overflow.filter(i => i.isShared).map(({ label, ...btnProps }) => (
{/* eslint-disable-next-line @typescript-eslint/no-unused-vars -- Remove isShared from button props */}
{overflow.filter(i => i.isShared).map(({ label, isShared, ...btnProps }) => (
<OverflowMenuItem key={label}>
<Button component="a" {...btnProps}>{label}</Button>
</OverflowMenuItem>
Expand Down

0 comments on commit ec82abc

Please sign in to comment.