소스 검색

fix(config): no legacy over non-legacy override (#2644)

Do not take legacy property into account if there's non-legacy value.
j8
Paweł Domas 7 년 전
부모
커밋
15e1633d86
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      react/features/base/config/reducer.js

+ 1
- 1
react/features/base/config/reducer.js 파일 보기

@@ -157,7 +157,7 @@ function _translateLegacyConfig(oldValue: Object) {
157 157
 
158 158
     /* eslint-enable indent */
159 159
 
160
-        if (oldKey in newValue) {
160
+        if (oldKey in newValue && !(newKey in newValue.p2p)) {
161 161
             const v = newValue[oldKey];
162 162
 
163 163
             // Do not modify oldValue.

Loading…
취소
저장