diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 8950a7a6..b42e5e9a 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -46,7 +46,7 @@ CURRENT TODOs todo: expose translation setting for user to home-user-settings - document - - Is this where we need to have an autocomplete? (too small, no point?) + todo: User settings && password change documentation - do it now? diff --git a/ayanova/src/views/home-user-settings.vue b/ayanova/src/views/home-user-settings.vue index 4039646c..e91ac6a4 100644 --- a/ayanova/src/views/home-user-settings.vue +++ b/ayanova/src/views/home-user-settings.vue @@ -17,6 +17,20 @@ > + + + + { -// vm.pickLists.usertypes = window.$gz.enums.getPickList("usertype"); -// }); -// } +////////////////////// +// +// +function populatePickLists(vm) { + //http://localhost:7575/api/v8/Translation/PickList + return window.$gz.api.get("Translation/PickList").then(res => { + if (res.error != undefined) { + window.$gz.errorHandler.handleFormError(res.error, vm); + } else { + vm.pickLists.translations = res.data; + } + }); +}