Merge branch 'develop' of https://gitlab.com/witel-front-end/loan-facilities/expert into feature/LFFE-12_synchronization_projects
This commit is contained in:
@@ -15,7 +15,7 @@ const SidebarListItem = ({item, dispatch, handleDrawerToggle}) => {
|
||||
return !hasSubItems ? (
|
||||
<IconButton>
|
||||
<Badge
|
||||
badgeContent={notification_count && notification_count.length>0 ? notification_count[item.name] : 0}
|
||||
badgeContent={notification_count ? notification_count[item.name] : 0}
|
||||
color="error"
|
||||
variant="standard"
|
||||
anchorOrigin={{
|
||||
|
||||
@@ -19,7 +19,7 @@ const SidebarListSubItem = ({item, handleDrawerToggle }) => {
|
||||
const renderBadge = (subitem) => (
|
||||
<IconButton>
|
||||
<Badge
|
||||
badgeContent={notification_count && notification_count.length>0 ? notification_count[subitem.name] : 0}
|
||||
badgeContent={notification_count ? notification_count[subitem.name] : 0}
|
||||
color="error"
|
||||
variant="standard"
|
||||
anchorOrigin={{
|
||||
|
||||
Reference in New Issue
Block a user