summaryrefslogtreecommitdiffstats
path: root/web/react/utils/utils.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r--web/react/utils/utils.jsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 1b31adf69..82e9bc447 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -1340,3 +1340,18 @@ export function clearFileInput(elm) {
// Do nothing
}
}
+
+export function languages() {
+ return (
+ [
+ {
+ value: 'en',
+ name: 'English'
+ },
+ {
+ value: 'es',
+ name: 'EspaƱol'
+ }
+ ]
+ );
+}