We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad5f07 commit 0049580Copy full SHA for 0049580
resources/spa/src/page/topic/TopicDetail.vue
@@ -149,7 +149,7 @@ export default {
149
},
150
async fetchParticipants () {
151
const users = this.topic.participants || []
152
- if (!users.length) return
+ if (!users.length) return (this.participants = [])
153
const params = { id: users.join(','), limit: 4 }
154
const data = await this.$store.dispatch('user/getUserList', params)
155
this.participants = data
0 commit comments