Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(desktop-picker): Populate list of desktop app windows to share

Christoph Settgast1a22b7d0ddec
diff --git a/react/features/desktop-picker/components/DesktopPicker.tsx b/react/features/desktop-picker/components/DesktopPicker.tsx
index 3c122ec5ea..f582b09bd3 100644
--- a/react/features/desktop-picker/components/DesktopPicker.tsx
+++ b/react/features/desktop-picker/components/DesktopPicker.tsx
@@ -358,7 +358,7 @@ class DesktopPicker extends PureComponent<IProps, IState> {
type => {
return {
accessibilityLabel: t(TAB_LABELS[type as keyof typeof TAB_LABELS]),
- id: `${type}-tab`,
+ id: `${type}`,
controlsId: `${type}-panel`,
label: t(TAB_LABELS[type as keyof typeof TAB_LABELS])
};
@@ -369,7 +369,7 @@ class DesktopPicker extends PureComponent<IProps, IState> {
accessibilityLabel = { t('dialog.sharingTabs') }
className = 'desktop-picker-tabs-container'
onChange = { this._onTabSelected }
- selected = { `${this.state.selectedTab}-tab` }
+ selected = { `${this.state.selectedTab}` }
tabs = { tabs } />);
}