fixed socket tooltip label

This commit is contained in:
John Mitchell
2015-06-12 10:39:22 -04:00
parent 2424ed4832
commit d44dcd5d1a

View File

@@ -48,7 +48,7 @@ export function JobDetailController ($location, $rootScope, $filter, $scope, $co
} }
if (hosts[host].changed) { if (hosts[host].changed) {
hosts[host].changedTip = hosts[host].changed; hosts[host].changedTip = hosts[host].changed;
hosts[host].changedTip += (hosts[host].changed === 1) ? " host event" : " host eventss"; hosts[host].changedTip += (hosts[host].changed === 1) ? " host event" : " host events";
hosts[host].changedTip += " changed."; hosts[host].changedTip += " changed.";
} else { } else {
hosts[host].changedTip = "No host events changed."; hosts[host].changedTip = "No host events changed.";