mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Added habitica event for profile display (#9576)
This commit is contained in:
@@ -11,8 +11,11 @@ export default {
|
||||
profile,
|
||||
},
|
||||
mounted () {
|
||||
this.$store.state.profileUser = {};
|
||||
this.$root.$emit('bv::show::modal', 'profile');
|
||||
// @TODO: Do we need this page?
|
||||
this.$root.$emit('habitica:show-profile', {
|
||||
user: {},
|
||||
startingPage: 'profile',
|
||||
});
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user