This commit is contained in:
2020-08-05 22:33:33 +00:00
parent 6fddd981ed
commit 15297fa2f5
7 changed files with 21 additions and 7 deletions

View File

@@ -454,7 +454,8 @@ async function fetchTranslatedText(vm) {
async function populateSelectionLists(vm) {
let res = await window.$gz.api.get(API_BASE_URL + "List");
if (res.error) {
window.$gz.errorHandler.handleFormError(res.error, vm);
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);
} else {
vm.selectLists.pickListTemplates = res.data;
window.$gz.form.addNoSelectionItem(vm.selectLists.pickListTemplates);