Fix Gitea checks after kit application
Some checks failed
Build / verify (push) Failing after 9m23s
Codex Template Compliance / template-compliance (push) Successful in 7s

This commit is contained in:
MrSphay
2026-05-03 22:39:10 +02:00
parent c02413813b
commit b4552f76fd
3 changed files with 18 additions and 4 deletions

View File

@@ -7,7 +7,13 @@ import {
RefreshCwIcon,
TrashIcon,
} from '@modrinth/assets'
import { Button, Card, injectNotificationManager, ProgressSpinner, Toggle } from '@modrinth/ui'
import {
Button,
Card,
injectNotificationManager,
ProgressSpinner,
Toggle,
} from '@modrinth/ui'
import { computed, onMounted, ref } from 'vue'
import type { ConnectedPack } from '@/helpers/connected-library'
@@ -142,7 +148,9 @@ onMounted(refresh)
<div class="meta">
<span>Latest {{ pack.version }}</span>
<span v-if="pack.installedVersionId">Installed {{ pack.installedVersionId }}</span>
<span v-if="pack.lastChecked">Checked {{ new Date(pack.lastChecked).toLocaleString() }}</span>
<span v-if="pack.lastChecked">
Checked {{ new Date(pack.lastChecked).toLocaleString() }}
</span>
</div>
<p v-if="pack.lastError" class="error">{{ pack.lastError }}</p>
</div>

View File

@@ -48,7 +48,9 @@ onUnmounted(() => {
{ label: 'Saved', href: `/library/saved`, shown: false },
]"
/>
<template v-if="route.path.startsWith('/library/connected') || (instances && instances.length > 0)">
<template
v-if="route.path.startsWith('/library/connected') || (instances && instances.length > 0)"
>
<RouterView v-if="route.path.startsWith('/library')" :instances="instances" />
</template>
<div v-else class="no-instance">