diff --git a/website/client/components/header/notifications/questInvitation.vue b/website/client/components/header/notifications/questInvitation.vue index ce8e6b9106..506e1e4cf2 100644 --- a/website/client/components/header/notifications/questInvitation.vue +++ b/website/client/components/header/notifications/questInvitation.vue @@ -45,19 +45,17 @@ export default { this.$router.push({ name: 'party' }); }, async questAccept () { - let quest = await this.$store.dispatch('quests:sendAction', { + this.user.party.quest = await this.$store.dispatch('quests:sendAction', { groupId: this.notification.data.partyId, action: 'quests/accept', }); - this.user.party.quest = quest; }, async questReject () { - let quest = await this.$store.dispatch('quests:sendAction', { + this.user.party.quest = await this.$store.dispatch('quests:sendAction', { groupId: this.notification.data.partyId, action: 'quests/reject', }); - this.user.party.quest = quest; }, }, }; - \ No newline at end of file + diff --git a/website/client/components/shops/quests/questInfo.vue b/website/client/components/shops/quests/questInfo.vue index 0cab52200b..a395eca04e 100644 --- a/website/client/components/shops/quests/questInfo.vue +++ b/website/client/components/shops/quests/questInfo.vue @@ -1,17 +1,18 @@