You've already forked AstralRinth
forked from didirus/AstralRinth
Fix serverless crash + Version Filters on reload (#1050)
This commit is contained in:
7
composables/query.js
Normal file
7
composables/query.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export const getArrayOrString = (x) => {
|
||||
if (typeof x === 'string' || x instanceof String) {
|
||||
return [x]
|
||||
} else {
|
||||
return x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user