fix agent table pending actions filter

This commit is contained in:
Josh 2020-12-14 04:39:42 +00:00
parent 715accfb8a
commit ad1a9ecca1
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ export default {
if (advancedFilter) { if (advancedFilter) {
if (checks && !row.checks.has_failing_checks) return false; if (checks && !row.checks.has_failing_checks) return false;
if (patches && !row.patches_pending) return false; if (patches && !row.patches_pending) return false;
if (actions && row.pending_actions > 0) return false; if (actions && row.pending_actions === 0) return false;
if (reboot && !row.needs_reboot) return false; if (reboot && !row.needs_reboot) return false;
if (availability === "online" && row.status !== "online") return false; if (availability === "online" && row.status !== "online") return false;
else if (availability === "offline" && row.status !== "overdue") return false; else if (availability === "offline" && row.status !== "overdue") return false;