💄 Landing page don't show archived project

This commit is contained in:
LittleSheep 2024-08-10 23:10:38 +08:00
parent f58ca6b9ca
commit d4c4b630fc

View File

@ -23,7 +23,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
const { data: products } = await useAsyncData("products", () => queryContent("/products").limit(5).find()) const { data: products } = await useAsyncData("products", () => queryContent("/products").where({ archived: { $ne: true } }).limit(5).find())
</script> </script>
<style scoped> <style scoped>