Fix serverless crash + Version Filters on reload (#1050)

This commit is contained in:
Geometrically
2023-03-14 15:33:10 -07:00
committed by GitHub
parent 078e952f30
commit 437b2ab30a
7 changed files with 85 additions and 82 deletions

View File

@@ -406,14 +406,6 @@ export default defineNuxtComponent({
const currentPage = ref(1)
const projectType = ref({ id: 'mod', display: 'mod', actual: 'mod' })
function getArrayOrString(x) {
if (typeof x === 'string' || x instanceof String) {
return [x]
} else {
return x
}
}
if (route.query.q) {
query.value = route.query.q
}