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

7
composables/query.js Normal file
View File

@@ -0,0 +1,7 @@
export const getArrayOrString = (x) => {
if (typeof x === 'string' || x instanceof String) {
return [x]
} else {
return x
}
}