Skip to content

Commit 7eb5848

Browse files
authored
Merge pull request #63 from openimis/feature/OSB-11
OSB-11: added ids for submenu items
2 parents 5e58160 + 554748d commit 7eb5848

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,30 +84,35 @@ const DEFAULT_CONFIG = {
8484
icon: <PinDrop />,
8585
route: `/${ROUTE_PAYMENT_POINTS}`,
8686
filter: (rights) => rights.includes(RIGHT_PAYMENT_POINT_SEARCH),
87+
id: 'legalAndFinance.paymentPoint',
8788
},
8889
{
8990
text: <FormattedMessage module="payroll" id="payroll.payroll.route" />,
9091
icon: <MonetizationOnIcon />,
9192
route: `/${ROUTE_PAYROLLS}`,
9293
filter: (rights) => rights.includes(RIGHT_PAYROLL_SEARCH),
94+
id: 'legalAndFinance.payrolls',
9395
},
9496
{
9597
text: <FormattedMessage module="payroll" id="payroll.route.payrollsPending" />,
9698
icon: <MonetizationOnIcon />,
9799
route: `/${ROUTE_PAYROLLS_PENDING}`,
98100
filter: (rights) => rights.includes(RIGHT_PAYROLL_SEARCH),
101+
id: 'legalAndFinance.payrollsPending',
99102
},
100103
{
101104
text: <FormattedMessage module="payroll" id="payroll.route.payrollsApproved" />,
102105
icon: <MonetizationOnIcon />,
103106
route: `/${ROUTE_PAYROLLS_APPROVED}`,
104107
filter: (rights) => rights.includes(RIGHT_PAYROLL_SEARCH),
108+
id: 'legalAndFinance.payrollsApproved',
105109
},
106110
{
107111
text: <FormattedMessage module="payroll" id="payroll.route.payrollsReconciled" />,
108112
icon: <MonetizationOnIcon />,
109113
route: `/${ROUTE_PAYROLLS_RECONCILED}`,
110114
filter: (rights) => rights.includes(RIGHT_PAYROLL_SEARCH),
115+
id: 'legalAndFinance.payrollsReconciled',
111116
},
112117
],
113118
'payroll.TabPanel.label': [BenefitConsumptionsTabLabel, PayrollTaskTabLabel, PayrollPaymentFilesTabLabel],

0 commit comments

Comments
 (0)