Fix Gitea checks after kit application
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user