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

@@ -4,7 +4,9 @@
MISC ITEMS THAT CAME UP
todo:formcustom form is not localizing on the fly, it was expected that it would be entered via the objects edit form but this is not always the case, e.g. record history form etc
Make it fetch on the fly like the datagrid or however is most appropriate
todo: history items, fetch locale text in name as appropriate if it has the lt:, I think there is already code to handle this scenario extant, maybe in form errors?
todo: idea - move sublists into menu option in grid list and edit form
e.g. Unit Models doesn't really need to sit always in the nav panel to the left and it's getting crowded in the service "pane" anyway so
Move the unitModels into the menu of the Units list and into the menu of the Unit edit form and remove from the Service nav panel

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
};
}