mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: logic
This commit is contained in:
@@ -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