Skip to content

Conversation

@mvolkmann
Copy link
Collaborator

No description provided.

</ListItem>
<Collapse in={adminOpen} timeout="auto" unmountOnExit>
{createListJsx(adminLinks, true)}
{isAdmin && (
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was moved here from below.
I had to customize the styling of the button to match the look of the links in the ADMIN menu.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason not to just make it a <ListItem> like the others?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize I could attach an onClick to a ListItem. I pushed that change.

{isAdmin && (
<MenuItem
onClick={() => {
closeAvatarMenu();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't need the call to closeAvatarMenu above since the button is no longer in that menu.

S78901
S78901 previously approved these changes Apr 25, 2024
vhscom
vhscom previously approved these changes Apr 25, 2024
Copy link
Contributor

@vhscom vhscom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I see button prop on ListItem is deprecated.

@mvolkmann mvolkmann dismissed stale reviews from vhscom and S78901 via c460460 April 25, 2024 19:55
@mvolkmann
Copy link
Collaborator Author

Looks good to me. I see button prop on ListItem is deprecated.

I removed those deprecated props.

mkimberlin
mkimberlin previously approved these changes Apr 25, 2024
mkimberlin
mkimberlin previously approved these changes Apr 25, 2024
Copy link
Collaborator

@jackkeller jackkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: Approved

@mvolkmann mvolkmann merged commit 0f280b4 into develop Apr 25, 2024
@mkimberlin mkimberlin deleted the feature-2243-upload-hours branch August 27, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants