Re-enable start quest button (#10532)

* Check for scroll during quest pre-selection

* Re-enable start quest btn after error

* Review: remove unused start quest method
This commit is contained in:
Dexx Mandele
2018-07-30 16:02:17 +02:00
committed by Matteo Pagliazzi
parent 40495aaacb
commit 734e4a963f
2 changed files with 14 additions and 26 deletions

View File

@@ -539,24 +539,6 @@ export default {
this.$store.state.upgradingGroup = this.group;
this.$router.push('/group-plans');
},
clickStartQuest () {
Analytics.track({
hitType: 'event',
eventCategory: 'button',
eventAction: 'click',
eventLabel: 'Start a Quest',
});
let hasQuests = find(this.user.items.quests, (quest) => {
return quest > 0;
});
if (hasQuests) {
this.$root.$emit('bv::show::modal', 'start-quest-modal');
return;
}
// $rootScope.$state.go('options.inventory.quests');
},
showGroupGems () {
this.$root.$emit('bv::show::modal', 'group-gems-modal');
},