App fixes 0.9.0 (#3034)

* push fixes to test on windows

* Fix searching mods

* Fix search not saving, fix scrolling issues, etc
This commit is contained in:
Geometrically
2024-12-17 23:23:30 -07:00
committed by GitHub
parent 7e8ceadfd4
commit 6ceed4b226
19 changed files with 280 additions and 178 deletions

View File

@@ -42,9 +42,7 @@
Install content to server
</h1>
</template>
<ContentPageHeader v-else>
<template #title> Discover content </template>
</ContentPageHeader>
<ContentPageHeader v-else></ContentPageHeader>
<NavTabs v-if="!server" :links="selectableProjectTypes" class="hidden md:flex" />
</section>
<aside
@@ -342,7 +340,11 @@ const tags = useTags();
const flags = useFeatureFlags();
const auth = await useAuth();
const projectType = ref({ id: "mod", display: "mod", actual: "mod" });
const projectType = computed(() =>
tags.value.projectTypes.find(
(x) => x.id === route.path.replaceAll(/^\/|s\/?$/g, ""), // Removes prefix `/` and suffixes `s` and `s/`
),
);
const projectTypes = computed(() => [projectType.value.id]);
const server = ref();
@@ -506,10 +508,6 @@ async function serverInstall(project) {
project.installing = false;
}
projectType.value = tags.value.projectTypes.find(
(x) => x.id === route.path.replaceAll(/^\/|s\/?$/g, ""), // Removes prefix `/` and suffixes `s` and `s/`
);
const noLoad = ref(false);
const {
data: rawResults,