fix: broken files status card on server panel (#3873)

This commit is contained in:
IMB11 2025-06-30 22:47:30 +01:00 committed by GitHub
parent 33d26238ce
commit f549560e47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,9 +50,7 @@
</ClientOnly> </ClientOnly>
</div> </div>
</div> </div>
<nuxt-link
<component
:is="loading ? 'div' : 'NuxtLink'"
:to="loading ? undefined : `/servers/manage/${serverId}/files`" :to="loading ? undefined : `/servers/manage/${serverId}/files`"
class="relative isolate min-h-[156px] w-full overflow-hidden rounded-2xl bg-bg-raised p-8" class="relative isolate min-h-[156px] w-full overflow-hidden rounded-2xl bg-bg-raised p-8"
:class="loading ? '' : 'transition-transform duration-100 hover:scale-105 active:scale-100'" :class="loading ? '' : 'transition-transform duration-100 hover:scale-105 active:scale-100'"
@ -64,7 +62,7 @@
</div> </div>
<h3 class="text-base font-normal text-secondary">Storage usage</h3> <h3 class="text-base font-normal text-secondary">Storage usage</h3>
<FolderOpenIcon class="absolute right-10 top-10 size-8" /> <FolderOpenIcon class="absolute right-10 top-10 size-8" />
</component> </nuxt-link>
</div> </div>
</template> </template>