I've been attempting to show my data in a shade of green, but no matter what methods I try, the color is not showing up as expected.
if(typeof(this._serverList)!="undefined"){
var apparr=this._ApplicationList.find(x=>x.appNm==app);
let strlist1=this._serverList.filter(i=>i.envId==envId&&i.appId==apparr.appId).map(x=>x.serverName);
if(typeof(strlist1)!="undefined"){
strlist1.forEach(line=>{
if(line!="")
line.fontcolor("green"); //ISSUE HERE, NOT DISPLAYING IN GREEN
list+='.'+line+'\n';
});
}
return list;
}