We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8157d39 commit 3bce94fCopy full SHA for 3bce94f
1 file changed
OpenFlow/src/public/Controllers.ts
@@ -2593,7 +2593,11 @@ module openflow {
2593
this.preloadData = () => {
2594
var dt = new Date(new Date().toISOString());
2595
if (this.showinactive) {
2596
- this.basequery = { _heartbeat: { "$exists": true } };
+ if (this.showall) {
2597
+ this.basequery = { _heartbeat: { "$exists": true } };
2598
+ } else {
2599
+ this.basequery = { _rpaheartbeat: { "$exists": true } };
2600
+ }
2601
} else if (this.showall) {
2602
dt.setMinutes(dt.getMinutes() - 1);
2603
this.basequery = { _heartbeat: { "$gte": dt } };
0 commit comments