Skip to content

Commit

Permalink
More test fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Sep 13, 2022
1 parent b68c567 commit 23c2c6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/components/EventsRequiringModeration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export default {
events() {
let ret = Object.values(this.$store.getters['events/getModerate'])
if (this.network) {
// We are trying to show only data for a specific network.
if (this.networks) {
// We are trying to show only data for specific networks.
ret = ret.filter((e) => {
var intersection = e.networks.filter(x => this.networks.includes(x.id));
var intersection = e.group.networks.filter(x => this.networks.includes(x.id));
if (intersection.length) {
return true
Expand Down

0 comments on commit 23c2c6d

Please sign in to comment.