mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
Update actionsHandler.ts
This commit is contained in:
parent
72ae811b1e
commit
066fc941f8
@ -527,7 +527,7 @@ async function getAppMenus(ctx) {
|
||||
const context = await getContext(ctx)
|
||||
const appMenus = await transformAppToMenus(ctx, appConfig, mobile, userSession, context);
|
||||
|
||||
if(userSession.is_space_admin && appConfig._id && appConfig._id != appConfig.code){
|
||||
if (userSession.is_space_admin && appConfig._id && appConfig.code && appConfig._id != appConfig.code) {
|
||||
appMenus.allowEditApp = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user