Move many things over from Knossos (and other rearrangements) (#102)

This commit is contained in:
Emma Alexia
2023-10-16 21:18:23 -04:00
committed by GitHub
parent 46a6fee81d
commit 8369330053
68 changed files with 852 additions and 342 deletions

View File

@@ -4,7 +4,11 @@
A {{ type }}
</span>
<span
v-else-if="!['resourcepack', 'shader'].includes(type) && !(type === 'plugin' && search)"
v-else-if="
!['resourcepack', 'shader'].includes(type) &&
!(type === 'plugin' && search) &&
!categories.includes('datapack')
"
class="environment"
>
<template v-if="clientSide === 'optional' && serverSide === 'optional'">
@@ -44,7 +48,7 @@
</span>
</template>
<script setup>
import { GlobeIcon, ClientIcon, ServerIcon, InfoIcon } from '@/components'
import { GlobeIcon, ClientIcon, ServerIcon, InfoIcon } from '@'
</script>
<script>
import { defineComponent } from 'vue'
@@ -80,6 +84,13 @@ export default defineComponent({
required: false,
default: false,
},
categories: {
type: Array,
required: false,
default() {
return []
},
},
},
})
</script>