Hide "Install with Modrinth App" for plugin-only projects

This commit is contained in:
Prospector
2024-08-21 09:17:37 -07:00
parent a02b4ae08f
commit d68251ad4b

View File

@@ -176,7 +176,13 @@
</template>
<template #default>
<div class="mx-auto flex max-w-[40rem] flex-col gap-4 md:w-[30rem]">
<div class="modrinth-app-section contents">
<div
v-if="
project.project_type !== 'plugin' ||
project.loaders.some((x) => !tags.loaderData.allPluginLoaders.includes(x))
"
class="modrinth-app-section contents"
>
<div class="mx-auto flex w-fit flex-col">
<ButtonStyled color="brand">
<a