This commit is contained in:
2020-10-07 18:43:40 +00:00
parent 3cd6a59570
commit 49caab4139
2 changed files with 11 additions and 5 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

@@ -273,10 +273,16 @@ export default {
let item = res.data.searchResults[i];
if (item.type != lastType) {
//change of type, set subheader props
let tsub = window.$gz._.find(vm.selectLists.objectTypes, [
"id",
item.type
]);
//de-lodash
// let tsub = window.$gz._.find(vm.selectLists.objectTypes, [
// "id",
// item.type
// ]);
let tsub = vm.selectLists.objectTypes.find(
z => z.id == item.type
);
if (tsub != null) {
item.subheader = tsub.name;
} else {