Skip to content

Commit

Permalink
fix: missing Menu props
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Jul 13, 2022
1 parent 1da8aad commit 61c995e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/meteor/client/views/admin/users/UserInfoActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ export const UserInfoActions = ({ username, _id, isActive, isAdmin, onChange, on
mi='x4'
placement='bottom-start'
small={false}
ghost={false}
secondary
maxHeight='initial'
flexShrink={0}
key='menu'
renderItem={({ label: { label, icon }, ...props }) => <Option label={label} title={label} icon={icon} {...props} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ const RoomInfo = ({
flexShrink={0}
mi='x2'
key='menu'
ghost={false}
maxHeight='initial'
secondary
renderItem={({ label: { label, icon }, ...props }) => <Option {...props} label={label} icon={icon} />}
options={menuOptions}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const UserActions = ({ username, _id, rid, reload }) => {
return (
<Menu
flexShrink={0}
maxHeight='initial'
key='menu'
tiny
renderItem={({ label: { label, icon }, ...props }) => <Option {...props} label={label} icon={icon} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const UserActions = ({ user, rid, backToList }) => {
mi='x4'
secondary
small={false}
maxHeight='initial'
renderItem={({ label: { label, icon }, ...props }) => <Option {...props} label={label} icon={icon} />}
flexShrink={0}
options={menuOptions}
Expand Down

0 comments on commit 61c995e

Please sign in to comment.