Skip to content

Commit

Permalink
fix(ui): if no trigger state filter is selected, show them all (#6522)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Dec 19, 2024
1 parent 5f8cd4c commit 2391f17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/admin/Triggers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
}
})
if(!this.$route.query.trigger_state?.length) return all;
const disabled = this.$route.query?.trigger_state?.[0] === "disabled" ? true : false;
return all.filter(trigger => trigger.disabled === disabled);
Expand Down

0 comments on commit 2391f17

Please sign in to comment.