feat(tslint): more tslint work

This commit is contained in:
Torkel Ödegaard
2016-01-13 21:22:39 +01:00
parent 59c928acc2
commit 08caf4bbde
9 changed files with 14 additions and 32 deletions

View File

@@ -96,13 +96,12 @@ export class TableRenderer {
}
renderCell(columnIndex, value, addWidthHack = false) {
var value = this.formatColumnValue(columnIndex, value);
value = this.formatColumnValue(columnIndex, value);
var style = '';
if (this.colorState.cell) {
style = ' style="background-color:' + this.colorState.cell + ';color: white"';
this.colorState.cell = null;
}
else if (this.colorState.value) {
} else if (this.colorState.value) {
style = ' style="color:' + this.colorState.value + '"';
this.colorState.value = null;
}