Added basic module support
This commit is contained in:
@@ -70,8 +70,11 @@ const backUrl = computed(() => {
|
||||
</span>
|
||||
</NuxtLink>
|
||||
|
||||
<!-- Folder Items -->
|
||||
<DesktopItem v-for="item in items" :key="item.id" :item="item" />
|
||||
<!-- Grid Items -->
|
||||
<template v-for="item in items" :key="item.id">
|
||||
<ModuleItem v-if="item.type === 'module'" :item="item" />
|
||||
<DesktopItem v-else :item="item" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div v-if="items.length === 0 && slugPath.length === 0" class="text-white/50 flex items-center justify-center h-64 text-lg">
|
||||
|
||||
Reference in New Issue
Block a user