Merge branch 'master' into fix/10118
This commit is contained in:
commit
b0a56f398e
|
@ -126,7 +126,7 @@
|
|||
user,
|
||||
prodAppId
|
||||
)
|
||||
const isAppBuilder = sdk.users.hasAppBuilderPermissions(user, prodAppId)
|
||||
const isAppBuilder = user.builder?.apps?.includes(prodAppId)
|
||||
let role
|
||||
if (isAdminOrGlobalBuilder) {
|
||||
role = Constants.Roles.ADMIN
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
})
|
||||
}
|
||||
return availableApps.map(app => {
|
||||
const prodAppId = apps.getProdAppID(app.appId)
|
||||
const prodAppId = apps.getProdAppID(app.devId)
|
||||
return {
|
||||
name: app.name,
|
||||
devId: app.devId,
|
||||
|
|
Loading…
Reference in New Issue