This commit is contained in:
2021-01-04 19:17:04 +00:00
parent a329a8cf16
commit 69c5c9f386
2 changed files with 5 additions and 3 deletions

View File

@@ -218,7 +218,8 @@ export default {
},
getIconForObjectType(otype) {
if (otype) {
return this.ayaTypes[otype].icon;
//return this.ayaTypes[otype].icon;
return window.$gz.util.iconForType(otype);
} else {
return null;
}
@@ -392,7 +393,6 @@ async function populateAyaTypeList(vm) {
}
temp[item.id] = {
name: item.name,
icon: window.$gz.util.iconForType(item.id),
openableObject: openableObject
};
}