diff options
Diffstat (limited to 'client/src/app/helpers/utils')
-rw-r--r-- | client/src/app/helpers/utils/object.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/helpers/utils/object.ts b/client/src/app/helpers/utils/object.ts index 1ca4a23ac..69b2b18c0 100644 --- a/client/src/app/helpers/utils/object.ts +++ b/client/src/app/helpers/utils/object.ts | |||
@@ -18,7 +18,7 @@ function sortBy (obj: any[], key1: string, key2?: string) { | |||
18 | }) | 18 | }) |
19 | } | 19 | } |
20 | 20 | ||
21 | function intoArray (value: any) { | 21 | function splitIntoArray (value: any) { |
22 | if (!value) return undefined | 22 | if (!value) return undefined |
23 | if (Array.isArray(value)) return value | 23 | if (Array.isArray(value)) return value |
24 | 24 | ||
@@ -42,6 +42,6 @@ export { | |||
42 | sortBy, | 42 | sortBy, |
43 | immutableAssign, | 43 | immutableAssign, |
44 | removeElementFromArray, | 44 | removeElementFromArray, |
45 | intoArray, | 45 | splitIntoArray, |
46 | toBoolean | 46 | toBoolean |
47 | } | 47 | } |