mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
More fixes (#9006)
* Reset user when clicking profile nav * Added editprofile * Add scroll to conversations and scroll to bottom on messages * Fixed profile click * Added notification mixin * Fixed challenge edit assignment * Guild list item now returns summary * Fixed tier icons * Fixed quest invitaion check * Fixed extra loading of party members in modals * Removed background from avatar in tutorial * Changed port back * Fixed task adding
This commit is contained in:
@@ -105,11 +105,6 @@ export default {
|
||||
bDropdownItem,
|
||||
MemberDetails,
|
||||
},
|
||||
mounted () {
|
||||
this.$root.$on('shown::modal', () => {
|
||||
this.getMembers();
|
||||
});
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
sortOption: '',
|
||||
@@ -161,10 +156,18 @@ export default {
|
||||
|
||||
return this.members;
|
||||
},
|
||||
groupId () {
|
||||
return this.$store.state.groupId || this.group._id;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
groupId () {
|
||||
this.getMembers();
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
async getMembers () {
|
||||
let groupId = this.$store.state.groupId || this.group._id;
|
||||
let groupId = this.groupId;
|
||||
if (groupId && groupId !== 'challenge') {
|
||||
let members = await this.$store.dispatch('members:getGroupMembers', {
|
||||
groupId,
|
||||
|
||||
Reference in New Issue
Block a user