Skip to content

Commit

Permalink
Merge pull request #688 from TheRestartProject/RES-1940_event_approva…
Browse files Browse the repository at this point in the history
…l_state

RES-1940 Approve dropdown wrongly showing for events after approval
  • Loading branch information
edwh authored Oct 2, 2023
2 parents f167f1c + ce8e03a commit fbb382e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/js/components/EventAddEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ export default {
}
this.networkData = setFrom.network_data ? setFrom.network_data : {}
if (!this.creating) {
this.eventApproved = setFrom.approved
} else {
this.eventApproved = this.autoApprove
}
}
// If only one group, default to that.
Expand Down

0 comments on commit fbb382e

Please sign in to comment.