fix: align case-file rule filters with business types
This commit is contained in:
@@ -344,22 +344,8 @@ export function Sidebar({ onToggle, collapsed, userRole, frontendJWT = '' }: Sid
|
||||
if (isCaseFileModule) {
|
||||
return {
|
||||
...item,
|
||||
children: [
|
||||
{
|
||||
id: 'rules-admin-penalty',
|
||||
title: '行政处罚',
|
||||
path: buildRulesTestListPath('行政处罚'),
|
||||
icon: 'ri-list-check-3',
|
||||
order: 1
|
||||
},
|
||||
{
|
||||
id: 'rules-admin-license',
|
||||
title: '行政许可',
|
||||
path: buildRulesTestListPath('行政许可'),
|
||||
icon: 'ri-list-check-3',
|
||||
order: 2
|
||||
}
|
||||
]
|
||||
path: buildRulesTestListPath(),
|
||||
children: undefined
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user