From a6a816894ab54a16d03c741e7f0351e08f64397f Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 4 Mar 2024 14:14:27 +0100 Subject: [PATCH] fix(MediaSettings): reset virtualBackground at preview properly Signed-off-by: Maksim Sukharev --- src/components/MediaSettings/MediaSettings.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/MediaSettings/MediaSettings.vue b/src/components/MediaSettings/MediaSettings.vue index b92ad31cfcb..7151c9f494a 100644 --- a/src/components/MediaSettings/MediaSettings.vue +++ b/src/components/MediaSettings/MediaSettings.vue @@ -452,6 +452,8 @@ export default { } else if (BrowserStorage.getItem('virtualBackgroundType_' + this.token) === VIRTUAL_BACKGROUND.BACKGROUND_TYPE.IMAGE) { this.setVirtualBackgroundImage(BrowserStorage.getItem('virtualBackgroundUrl_' + this.token)) } + } else { + this.clearVirtualBackground() } this.initializeDevices()