This commit is contained in:
2021-09-03 23:17:35 +00:00
parent ba71ece06d
commit c567cf0910
2 changed files with 7 additions and 2 deletions

View File

@@ -261,6 +261,9 @@ export default {
let lastType = -1;
for (let i = 0; i < res.data.searchResults.length; i++) {
let item = res.data.searchResults[i];
item.name = await window.$gz.translation.translateStringWithMultipleKeysAsync(
item.name
);
if (item.type != lastType) {
//change of type, set subheader props
//de-lodash
@@ -363,7 +366,7 @@ async function fetchTranslatedText(vm) {
//
//
async function populateSelectionLists(vm) {
let res = await window.$gz.api.get("enum-list/list/coreview");
let res = await window.$gz.api.get("enum-list/list/ayatype");
if (res.error) {
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);