mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: logic
This commit is contained in:
1 parent
0071ce01aa
commit
d92eec83ee
1 file changed
+1
-1
@@ -14,7 +14,7 @@ export function isTypeTagValue(obj: any): obj is TagValue {
|
||||
return (
|
||||
obj &&
|
||||
typeof obj.tag === 'string' &&
|
||||
(typeof obj.value === 'string' || typeof obj.value === 'number')
|
||||
(typeof obj.value === 'string' || typeof obj.value === 'number' || Array.isArray(obj.value))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user