feat: add app log permission (#4932)

* feat: add app log permission

* fix: org search bug
This commit is contained in:
Finley Ge
2025-05-30 17:09:29 +08:00
committed by archer
parent 5a5367d30b
commit d7b9f94270
10 changed files with 119 additions and 73 deletions

View File

@@ -35,10 +35,10 @@ const RouteTab = () => {
{
label: t('app:publish_channel'),
id: TabEnum.publish
},
{ label: t('app:chat_logs'), id: TabEnum.logs }
}
]
: [])
: []),
...(appDetail.permission.hasLogPer ? [{ label: t('app:chat_logs'), id: TabEnum.logs }] : [])
],
[appDetail.permission.hasManagePer, appDetail.type]
);