From c1352e5f5f946319f539fca62ea4e5d6e94d1360 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 10 May 2023 22:32:01 +0200 Subject: [PATCH] fix(docs): FIx missing types and space indentation Signed-off-by: Joas Schilling --- src/components/MediaSettings/MediaSettings.vue | 4 ++-- src/components/MediaSettings/VideoBackgroundEditor.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/MediaSettings/MediaSettings.vue b/src/components/MediaSettings/MediaSettings.vue index ccea0c968fc..fcc8c2d834f 100644 --- a/src/components/MediaSettings/MediaSettings.vue +++ b/src/components/MediaSettings/MediaSettings.vue @@ -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) @@ -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) { diff --git a/src/components/MediaSettings/VideoBackgroundEditor.vue b/src/components/MediaSettings/VideoBackgroundEditor.vue index b165ebbec1a..221036033c1 100644 --- a/src/components/MediaSettings/VideoBackgroundEditor.vue +++ b/src/components/MediaSettings/VideoBackgroundEditor.vue @@ -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' }