Finalize changes
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { list } from '@/helpers/profile.js'
|
|
||||||
import { ref, onUnmounted, shallowRef } from 'vue'
|
import { ref, onUnmounted, shallowRef } from 'vue'
|
||||||
import { ofetch } from 'ofetch'
|
import { ofetch } from 'ofetch'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import RowDisplay from '@/components/RowDisplay.vue'
|
import RowDisplay from '@/components/RowDisplay.vue'
|
||||||
|
import { list } from '@/helpers/profile.js'
|
||||||
import { profile_listener } from '@/helpers/events'
|
import { profile_listener } from '@/helpers/events'
|
||||||
import { useBreadcrumbs } from '@/store/breadcrumbs'
|
import { useBreadcrumbs } from '@/store/breadcrumbs'
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ const filter = ref('')
|
|||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const breadcrumbs = useBreadcrumbs()
|
const breadcrumbs = useBreadcrumbs()
|
||||||
|
|
||||||
const recentInstances = shallowRef(Object.values(await list()))
|
|
||||||
|
|
||||||
breadcrumbs.setRootContext({ name: 'Home', link: route.path })
|
breadcrumbs.setRootContext({ name: 'Home', link: route.path })
|
||||||
|
|
||||||
|
const recentInstances = shallowRef(Object.values(await list()))
|
||||||
|
|
||||||
const getInstances = async () => {
|
const getInstances = async () => {
|
||||||
filter.value = ''
|
filter.value = ''
|
||||||
const profiles = await list()
|
const profiles = await list()
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ if (!fetchSettings.java_globals?.JAVA_8)
|
|||||||
fetchSettings.java_globals.JAVA_8 = { path: '', version: '' }
|
fetchSettings.java_globals.JAVA_8 = { path: '', version: '' }
|
||||||
if (!fetchSettings.java_globals?.JAVA_17)
|
if (!fetchSettings.java_globals?.JAVA_17)
|
||||||
fetchSettings.java_globals.JAVA_17 = { path: '', version: '' }
|
fetchSettings.java_globals.JAVA_17 = { path: '', version: '' }
|
||||||
|
|
||||||
const settings = ref(fetchSettings)
|
const settings = ref(fetchSettings)
|
||||||
|
|
||||||
const chosenInstallOptions = ref([])
|
const chosenInstallOptions = ref([])
|
||||||
|
|||||||
Reference in New Issue
Block a user