Finalize changes

This commit is contained in:
CodexAdrian
2023-05-10 01:20:57 -04:00
parent 157e48f2e7
commit b780e859d2
2 changed files with 3 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
<script setup>
import { list } from '@/helpers/profile.js'
import { ref, onUnmounted, shallowRef } from 'vue'
import { ofetch } from 'ofetch'
import { useRoute } from 'vue-router'
import RowDisplay from '@/components/RowDisplay.vue'
import { list } from '@/helpers/profile.js'
import { profile_listener } from '@/helpers/events'
import { useBreadcrumbs } from '@/store/breadcrumbs'
@@ -14,10 +14,10 @@ const filter = ref('')
const route = useRoute()
const breadcrumbs = useBreadcrumbs()
const recentInstances = shallowRef(Object.values(await list()))
breadcrumbs.setRootContext({ name: 'Home', link: route.path })
const recentInstances = shallowRef(Object.values(await list()))
const getInstances = async () => {
filter.value = ''
const profiles = await list()

View File

@@ -28,7 +28,6 @@ if (!fetchSettings.java_globals?.JAVA_8)
fetchSettings.java_globals.JAVA_8 = { path: '', version: '' }
if (!fetchSettings.java_globals?.JAVA_17)
fetchSettings.java_globals.JAVA_17 = { path: '', version: '' }
const settings = ref(fetchSettings)
const chosenInstallOptions = ref([])