forked from potsda.mn/mobilizon
Fix actorId query sometimes being lost when creating an event from group
Closes #712 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b02fecfc78
commit
4dde5b8275
|
@ -190,7 +190,6 @@ export default class OrganizerPickerWrapper extends Vue {
|
|||
setInitialActor(): void {
|
||||
if (this.$route.query?.actorId) {
|
||||
const actorId = this.$route.query?.actorId as string;
|
||||
this.$router.replace({ query: undefined });
|
||||
const actor = this.userMemberships.elements.find(
|
||||
({ parent: { id }, role }) =>
|
||||
actorId === id && MEMBER_ROLES.includes(role)
|
||||
|
|
Loading…
Reference in a new issue