This commit is contained in:
@@ -147,6 +147,20 @@ export default {
|
||||
}
|
||||
|
||||
return ret;
|
||||
}, ///////////////////////////////
|
||||
// ICON FOR CORE OBJECT TYPES
|
||||
//(used for search results)
|
||||
//
|
||||
//CoreBizObject add here
|
||||
iconForCoreType: function(aytype) {
|
||||
switch (aytype) {
|
||||
case window.$gz.type.User:
|
||||
return "fa-user";
|
||||
case window.$gz.type.Widget:
|
||||
return "fa-vial";
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
//new functions above here
|
||||
|
||||
Reference in New Issue
Block a user