Fixes and tidy-ups

This commit is contained in:
Cmdr McDonald
2016-11-04 11:31:48 +00:00
parent abfc338240
commit 97fc4ce45d
3 changed files with 131 additions and 90 deletions

View File

@@ -24,7 +24,7 @@ export default class ShipSummaryTable extends TranslatedComponent {
let u = language.units;
let formats = language.formats;
let { time, int, round, f1, f2, pct } = formats;
let sgClassNames = cn({ warning: ship.sgSlot && !ship.shield, muted: !ship.sgSlot });
let sgClassNames = cn({ warning: ship.findInternalByGroup('sg') && !ship.shield, muted: !ship.findInternalByGroup('sg') });
let sgRecover = '-';
let sgRecharge = '-';
let hide = tooltip.bind(null, null);