fix(virtual-background) don't disable uploads

Even when images are provided via dyamic branding.

Fixes: https://github.com/jitsi/jitsi-meet/issues/12941
pull/12958/head jitsi-meet_8339
Saúl Ibarra Corretgé 2 years ago
parent 35ee92869f
commit c641835d0f
  1. 2
      react/features/virtual-background/components/VirtualBackgroundDialog.tsx

@ -104,7 +104,7 @@ function _mapStateToProps(state: IReduxState): Object {
_images: (hasBrandingImages && dynamicBrandingImages) || IMAGES, _images: (hasBrandingImages && dynamicBrandingImages) || IMAGES,
_virtualBackground: state['features/virtual-background'], _virtualBackground: state['features/virtual-background'],
_selectedThumbnail: state['features/virtual-background'].selectedThumbnail, _selectedThumbnail: state['features/virtual-background'].selectedThumbnail,
_showUploadButton: !(hasBrandingImages || state['features/base/config'].disableAddingBackgroundImages), _showUploadButton: state['features/base/config'].disableAddingBackgroundImages,
_jitsiTrack: getLocalVideoTrack(state['features/base/tracks'])?.jitsiTrack, _jitsiTrack: getLocalVideoTrack(state['features/base/tracks'])?.jitsiTrack,
_multiStreamModeEnabled: getMultipleVideoSendingSupportFeatureFlag(state) _multiStreamModeEnabled: getMultipleVideoSendingSupportFeatureFlag(state)
}; };

Loading…
Cancel
Save