perf: display newly invited users at the top of the list

This commit is contained in:
wangruidong 2024-07-09 15:47:44 +08:00 committed by w940853815
parent 50b7f54652
commit f491c57c34

View File

@ -86,6 +86,7 @@ export default {
this.setting.InviteDialogVisible = false
this.$emit('close', res)
this.$store.dispatch('users/currentUserJoinNewOrg', res.users)
this.$router.push({ name: 'UserList', query: { order: '-date_updated' }})
}
}
}