@churchapps/content-providers 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12519,7 +12519,7 @@ var JesusFilmProvider = class {
|
|
|
12519
12519
|
`/media-components?filter=master&subTypes=${subType}&languageIds=${LANGUAGE_ID}&limit=100`
|
|
12520
12520
|
);
|
|
12521
12521
|
return data._embedded.mediaComponents.map((item) => {
|
|
12522
|
-
const isLeaf = item.
|
|
12522
|
+
const isLeaf = item.containsCount === 0;
|
|
12523
12523
|
return createFolder(
|
|
12524
12524
|
item.mediaComponentId,
|
|
12525
12525
|
item.title,
|