Sept 20 fixes (#9054)

* Fixed start quest from items

* More style fixes

* Changed gem modal to 20

* Removed unused image

* Added initial header styles for home page
This commit is contained in:
Keith Holliday
2017-09-20 09:56:26 -05:00
committed by GitHub
parent c0f159a8a5
commit 7812e14898
6 changed files with 56 additions and 12 deletions

View File

@@ -31,8 +31,6 @@
}
}
.quest-details {
margin: 0 auto;
text-align: left;
@@ -112,8 +110,6 @@ import twitterIcon from 'assets/svg/twitter.svg';
import starIcon from 'assets/svg/star.svg';
import goldIcon from 'assets/svg/gold.svg';
import difficultyStarIcon from 'assets/svg/difficulty-star.svg';
import questDialogDrops from '../shops/quests/questDialogDrops';
import questDialogContent from '../shops/quests/questDialogContent';
@@ -166,11 +162,14 @@ export default {
partySize: this.group.memberCount,
});
let groupId = this.group._id || this.user.party._id;
const key = this.selectedQuest;
const response = await this.$store.dispatch('guilds:inviteToQuest', {groupId: this.group._id, key});
const response = await this.$store.dispatch('guilds:inviteToQuest', {groupId, key});
const quest = response.data.data;
this.$store.state.party.data.quest = quest;
if (this.$store.state.party.data) this.$store.state.party.data.quest = quest;
this.$root.$emit('hide::modal', 'start-quest-modal');
},
},