File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Labrinth } from '@modrinth/api-client'
33import { NavTabs } from ' @modrinth/ui'
44import { computed , ref , watchEffect } from ' vue'
55
6- import GridDisplay from ' @/components/GridDisplay.vue'
6+ import GridDisplay from ' @/components/ui/library/ GridDisplay.vue'
77import { get_project_v3_many } from ' @/helpers/cache.js'
88import type { GameInstance } from ' @/helpers/types'
99
@@ -70,12 +70,6 @@ const filteredInstances = computed(() => {
7070<template >
7171 <section class =" flex flex-col gap-3" >
7272 <h2 class =" m-0 text-lg font-bold text-primary" >Library</h2 >
73- <NavTabs
74- mode="local"
75- :links =" tabs "
76- :active-index =" activeTab "
77- @tab-click =" (index ) => (activeTab = index ) "
78- />
7973 <GridDisplay label="Instances" :instances =" filteredInstances " />
8074 </section >
8175</template >
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ onUnmounted(() => {
5151<template >
5252 <WelcomeScreen v-if =" isReady && ! hasCreatedInstance " />
5353 <div v-else-if =" isReady" class =" flex flex-col gap-6 p-6" >
54- <h1 v-if =" recentInstances?.length > 0" class =" m-0 text-2xl font-extrabold" >Welcome back!</h1 >
55- <h1 v-else class =" m-0 text-2xl font-extrabold" >Welcome to Modrinth App!</h1 >
56- <RecentWorldsList :recent-instances =" recentInstances " />
54+ <RecentWorldsList v-if =" recentInstances ?.length > 0 " :recent-instances =" recentInstances " />
5755 <LibrarySection :instances =" instances " />
5856 </div >
5957</template >
You can’t perform that action at this time.
0 commit comments