Detect Array instead of falsy

This commit is contained in:
Sam Carlton 2022-04-26 20:02:19 -05:00
parent ba85f1cffe
commit 55e743a1e0

View file

@ -266,7 +266,7 @@ class BuildLists {
}
// Add App Bundles
if ( !!listEntry?.bundleIds ) {
if ( Array.isArray( listEntry.bundleIds ) ) {
listEntry.bundles = await this.getAppBundles( listEntry )
}