Loading bars (#113)

* Loading bars

* remove print

* remove print

* remove class

* Fix overlay
This commit is contained in:
Geometrically
2023-05-10 11:19:01 -07:00
committed by GitHub
parent dee8b50e69
commit 9be0d16f75
6 changed files with 170 additions and 17 deletions

View File

@@ -1,7 +0,0 @@
<script setup></script>
<template>
<div>
<p>Add Instance</p>
</div>
</template>

View File

@@ -47,7 +47,7 @@ await getInstances()
await Promise.all([getFeaturedModpacks(), getFeaturedMods()])
const unlisten = await profile_listener(async (e) => {
if (e.event === 'edited') {
if (e.event === 'created' || e.event === 'removed') {
await getInstances()
await Promise.all([getFeaturedModpacks(), getFeaturedMods()])
}