Skip to content

Commit

Permalink
fix(pages): publishers records link in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Al11o authored Aug 7, 2024
1 parent 385311c commit 1b0c558
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ const GroupAccordion = ({
}) => {
return (
<Accordion
slotProps={{
transition: {
// Without this, when closing fist section, SvgIcon can dispaear on others sections
unmountOnExit: true,
mountOnEnter: true,
},
}}
elevation={0}
sx={{
margin: '0px !important',
Expand Down
10 changes: 10 additions & 0 deletions src/pages/dashboard/congregation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DashboardCard, DashboardMenu } from '@features/index';
import {
IconGroups,
IconManageAccess,
IconPublisherRecordCard,
IconSettings,
IconSynced,
} from '@icons/index';
Expand All @@ -23,6 +24,15 @@ const CongregationCard = () => {
path="/service-groups"
/>
</ListItem>
{isConnected && (
<ListItem disablePadding>
<DashboardMenu
icon={<IconPublisherRecordCard color="var(--black)" />}
primaryText={t('tr_publishersRecords')}
path="/publisher-records"
/>
</ListItem>
)}
{isConnected && (
<ListItem disablePadding>
<DashboardMenu
Expand Down

0 comments on commit 1b0c558

Please sign in to comment.