ソースを参照

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
             propsUpdateFunction: (tabState: any, newProps: ReturnType<typeof getNotificationsTabProps>) => {
221
             propsUpdateFunction: (tabState: any, newProps: ReturnType<typeof getNotificationsTabProps>) => {
222
                 return {
222
                 return {
223
                     ...newProps,
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
             props: getNotificationsTabProps(state, showSoundsSettings),
233
             props: getNotificationsTabProps(state, showSoundsSettings),

読み込み中…
キャンセル
保存