Skip to content

Commit

Permalink
style(user): improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland committed May 19, 2022
1 parent 29c991a commit 972cc4e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions components/views/media/user/User.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export default Vue.extend({
)
},
muted() {
return (
(this.user?.peerId && this.webrtc.streamMuted[this.user.peerId]) || {
audio: true,
video: true,
screen: true,
}
)
return this.user?.peerId
? this.webrtc.streamMuted[this.user.peerId]
: {
audio: true,
video: true,
screen: true,
}
},
streams() {
return (
Expand Down

0 comments on commit 972cc4e

Please sign in to comment.