瀏覽代碼

fix(notifications-tab) Fix sounds settings (#13195)

factor2
Robert Pintilii 2 年之前
父節點
當前提交
00c3ea07e7
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      react/features/settings/components/web/SettingsDialog.tsx

+ 7
- 1
react/features/settings/components/web/SettingsDialog.tsx 查看文件

@@ -221,7 +221,13 @@ function _mapStateToProps(state: IReduxState, ownProps: any) {
221 221
             propsUpdateFunction: (tabState: any, newProps: ReturnType<typeof getNotificationsTabProps>) => {
222 222
                 return {
223 223
                     ...newProps,
224
-                    enabledNotifications: tabState?.enabledNotifications || {}
224
+                    enabledNotifications: tabState?.enabledNotifications || {},
225
+                    soundsIncomingMessage: tabState?.soundsIncomingMessage,
226
+                    soundsParticipantJoined: tabState?.soundsParticipantJoined,
227
+                    soundsParticipantKnocking: tabState?.soundsParticipantKnocking,
228
+                    soundsParticipantLeft: tabState?.soundsParticipantLeft,
229
+                    soundsReactions: tabState?.soundsReactions,
230
+                    soundsTalkWhileMuted: tabState?.soundsTalkWhileMuted
225 231
                 };
226 232
             },
227 233
             props: getNotificationsTabProps(state, showSoundsSettings),

Loading…
取消
儲存