aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue')
-rw-r--r--apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue b/apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue
index 1118f23419f..68610347420 100644
--- a/apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue
+++ b/apps/settings/src/components/AppStoreDiscover/AppStoreDiscoverSection.vue
@@ -41,6 +41,7 @@ import logger from '../../logger'
import { apiTypeParser } from '../../utils/appDiscoverTypeParser.ts'
const PostType = defineAsyncComponent(() => import('./PostType.vue'))
+const CarouselType = defineAsyncComponent(() => import('./CarouselType.vue'))
const hasError = ref(false)
const elements = ref<IAppDiscoverElements[]>([])
@@ -75,6 +76,8 @@ onBeforeMount(async () => {
const getComponent = (type) => {
if (type === 'post') {
return PostType
+ } else if (type === 'carousel') {
+ return CarouselType
}
return defineComponent({
mounted: () => logger.error('Unknown component requested ', type),