Skip to content

Commit 3bce94f

Browse files
committed
12
1 parent 8157d39 commit 3bce94f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2593,7 +2593,11 @@ module openflow {
25932593
this.preloadData = () => {
25942594
var dt = new Date(new Date().toISOString());
25952595
if (this.showinactive) {
2596-
this.basequery = { _heartbeat: { "$exists": true } };
2596+
if (this.showall) {
2597+
this.basequery = { _heartbeat: { "$exists": true } };
2598+
} else {
2599+
this.basequery = { _rpaheartbeat: { "$exists": true } };
2600+
}
25972601
} else if (this.showall) {
25982602
dt.setMinutes(dt.getMinutes() - 1);
25992603
this.basequery = { _heartbeat: { "$gte": dt } };

0 commit comments

Comments
 (0)