mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 02:24:56 +00:00
Implement loading (#104)
* Implement loading * LoadingBar * Run linter * Update App.vue * Loading bar all the things * Update SplashScreen.vue * Update SplashScreen.vue * Update App.vue * initial revert * Update Instance.vue * revert css * Fix instance * More reverting * Run lint * Finalize changes * Revert "Merge branch 'master' into loading" This reverts commit3014e765fb, reversing changes made tob780e859d2. * Fix loading issues * fix lint * Revert "Revert "Merge branch 'master' into loading"" This reverts commit971ef84666. --------- Co-authored-by: Jai A <jaiagr+gpg@pm.me>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import { ref, shallowRef, onUnmounted } from 'vue'
|
||||
import { ref, onUnmounted, shallowRef } from 'vue'
|
||||
import { ofetch } from 'ofetch'
|
||||
import { useRoute } from 'vue-router'
|
||||
import RowDisplay from '@/components/RowDisplay.vue'
|
||||
@@ -16,7 +16,7 @@ const breadcrumbs = useBreadcrumbs()
|
||||
|
||||
breadcrumbs.setRootContext({ name: 'Home', link: route.path })
|
||||
|
||||
const recentInstances = shallowRef()
|
||||
const recentInstances = shallowRef(Object.values(await list()))
|
||||
|
||||
const getInstances = async () => {
|
||||
filter.value = ''
|
||||
|
||||
Reference in New Issue
Block a user