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