Minor fix

This commit is contained in:
TwinProduction committed 2021-01-31 16:47:40 -05:00
1 parent 431fb3e9f2
commit 688456d7cf
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ export default {
} else {
let nextEvent = data.events[i+1];
if (event.type === 'HEALTHY') {
event.fancyText = 'Service became healthy again';
event.fancyText = 'Service became healthy';
} else if (event.type === 'UNHEALTHY') {
if (nextEvent) {
event.fancyText = 'Service was unhealthy for ' + this.prettifyTimeDifference(nextEvent.timestamp, event.timestamp);