This commit is contained in:
@@ -278,7 +278,18 @@ export default {
|
||||
source.slice(start + Math.abs(delCount))
|
||||
);
|
||||
},
|
||||
|
||||
///////////////////////////////
|
||||
// Format tags for display
|
||||
//
|
||||
//
|
||||
// @param {String} tags raw from server
|
||||
// @return {string} A new string with the tags formatted or an empty string if no tags
|
||||
formatTags: function(tags) {
|
||||
if (tags && tags.length > 0) {
|
||||
return tags.join(", ");
|
||||
}
|
||||
return "";
|
||||
},
|
||||
///////////////////////////////
|
||||
// ICON FOR *ALL* OBJECT TYPES
|
||||
//(used for search results and event log / history)
|
||||
|
||||
Reference in New Issue
Block a user