We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29323a4 commit 0f7608cCopy full SHA for 0f7608c
static/failed_logs.html
@@ -91,12 +91,14 @@
91
compareB = b.device.toLowerCase();
92
break;
93
case 'ping':
94
- compareA = a.pingStatus.toLowerCase();
95
- compareB = b.pingStatus.toLowerCase();
+ // Fix: Use the property name that matches your data object
+ compareA = a.ping ? a.ping.toLowerCase() : '';
96
+ compareB = b.ping ? b.ping.toLowerCase() : '';
97
98
case 'http':
- compareA = a.httpStatus.toLowerCase();
99
- compareB = b.httpStatus.toLowerCase();
100
+ compareA = a.http ? a.http.toLowerCase() : '';
101
+ compareB = b.http ? b.http.toLowerCase() : '';
102
103
default:
104
return 0;
0 commit comments