diff --git a/client/src/components/Admin.vue b/client/src/components/Admin.vue index 8218644..ae40ce0 100644 --- a/client/src/components/Admin.vue +++ b/client/src/components/Admin.vue @@ -29,15 +29,16 @@ export default { name: 'Admin', computed: { usersList () { - return this.$store.state.rtc.peers + // return this.$store.state.rtc.peers + return [] } }, methods: { broadcastStatus () { - this.$store.dispatch('rtc/broadcast', { message: this.$store.state.room.roomStatus, type: 'status' }) + // this.$store.dispatch('rtc/broadcast', { message: this.$store.state.room.roomStatus, type: 'status' }) }, kickUser (target) { - this.$store.dispatch('rtc/kick', target) + // this.$store.dispatch('rtc/kick', target) } } } diff --git a/client/src/components/Player.vue b/client/src/components/Player.vue index 5a2b6cc..a32b82e 100644 --- a/client/src/components/Player.vue +++ b/client/src/components/Player.vue @@ -29,6 +29,8 @@