Skip to content

Commit

Permalink
Remove badge from user avatar when user has tasks - this is now prese…
Browse files Browse the repository at this point in the history
…nted by the notifications
  • Loading branch information
StaNov committed Jan 29, 2025
1 parent a9a51e7 commit bfadc3e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { Badge, IconButton, MenuItem, Popover, styled } from '@mui/material';
import { IconButton, MenuItem, Popover, styled } from '@mui/material';
import { T, useTranslate } from '@tolgee/react';
import { Link, useHistory, useLocation } from 'react-router-dom';

Expand Down Expand Up @@ -93,9 +93,7 @@ export const UserPresentAvatarMenu: React.FC = () => {
onClick={handleOpen}
size="large"
>
<Badge badgeContent={taskCount} color="primary" variant="dot">
<UserAvatar />
</Badge>
<UserAvatar />
</StyledIconButton>
<StyledPopover
id="user-menu"
Expand Down

0 comments on commit bfadc3e

Please sign in to comment.