Skip to content

Commit

Permalink
fix(docs): FIx missing types and space indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed May 11, 2023
1 parent de69739 commit c1352e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/MediaSettings/MediaSettings.vue
Expand Up @@ -475,7 +475,7 @@ export default {
/**
* Sets an image as background in virtualBackground: the background used in the MediaSettings preview
*
* @param background
* @param {string} background the image's url
*/
setVirtualBackgroundImage(background) {
this.virtualBackground.setEnabled(true)
Expand All @@ -488,7 +488,7 @@ export default {
/**
* Sets an image as background of the participants in current or future call
*
* @param background the image's url
* @param {string} background the image's url
*/
setBackgroundImage(background) {
if (this.isInCall) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/MediaSettings/VideoBackgroundEditor.vue
Expand Up @@ -260,8 +260,8 @@ export default {
} else if (BrowserStorage.getItem('virtualBackgroundType_' + this.token) === VIRTUAL_BACKGROUND.BACKGROUND_TYPE.IMAGE) {
this.selectedBackground = BrowserStorage.getItem('virtualBackgroundUrl_' + this.token)
} else {
this.selectedBackground = 'none'
}
this.selectedBackground = 'none'
}
} else {
this.selectedBackground = 'none'
}
Expand Down

0 comments on commit c1352e5

Please sign in to comment.