Skip to content

Commit

Permalink
fix(media): show media settings modal on click, if device is not avai…
Browse files Browse the repository at this point in the history
…lable

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Apr 11, 2024
1 parent 50746ae commit 1898fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/CallView/shared/LocalAudioControlButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default {
methods: {
toggleAudio() {
if (!this.model.attributes.audioAvailable) {
emit('show-settings', {})
emit('talk:media-settings:show')
return
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/CallView/shared/LocalVideoControlButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
}

if (!this.model.attributes.videoAvailable) {
emit('show-settings', {})
emit('talk:media-settings:show')
return
}

Expand Down

0 comments on commit 1898fd9

Please sign in to comment.