formatting
This commit is contained in:
parent
c16fd53b0a
commit
9c30d79093
|
@ -13,10 +13,10 @@
|
|||
return $apps.length
|
||||
} else {
|
||||
return sdk.users.hasAppBuilderPermissions(row)
|
||||
? row.builder.apps.length +
|
||||
Object.keys(row.roles || {}).filter(appId =>
|
||||
row.builder.apps.includes(appId)
|
||||
).length
|
||||
? row?.builder?.apps?.length +
|
||||
Object.keys(row.roles || {}).filter(appId => {
|
||||
row?.builder?.apps?.includes(appId)
|
||||
}).length
|
||||
: value?.length || 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue