Hotfix: correct issues from PRs rollout (#10993)

* fix(various): correct issues from PRs rollout
1. Send Gems modal opens from profiles again
2. Contributor titles appear on hover again
3. Tags dropdown in tasks appears again
4. Only user's own @mentions get highlighted again

* fix(test): correct order of css classes in expect
This commit is contained in:
Sabe Jones
2019-02-15 16:01:33 -06:00
committed by GitHub
parent d932d6d448
commit 98fd509530
7 changed files with 23 additions and 20 deletions

View File

@@ -91,7 +91,6 @@ import notificationsMixin from 'client/mixins/notifications';
const TECH_ASSISTANCE_EMAIL = 'admin@habitica.com';
export default {
props: ['userReceivingGems'],
mixins: [paymentsMixin, notificationsMixin],
data () {
return {
@@ -110,6 +109,7 @@ export default {
hrefTechAssistanceEmail: `<a href="mailto:${TECH_ASSISTANCE_EMAIL}">${TECH_ASSISTANCE_EMAIL}</a>`,
},
sendingInProgress: false,
userReceivingGems: null,
};
},
computed: {
@@ -176,5 +176,11 @@ export default {
this.$root.$emit('bv::hide::modal', 'send-gems');
},
},
mounted () {
this.$root.$on('habitica::send-gems', (data) => {
this.userReceivingGems = data;
this.$root.$emit('bv::show::modal', 'send-gems');
});
},
};
</script>