소스 검색

Fixed issue with isTheSame in CustomInput hopefully for real this time again.

KrisVos130 7 년 전
부모
커밋
16aaf59b6c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/app/js/views/Auth/CustomInput.jsx

+ 1 - 1
frontend/app/js/views/Auth/CustomInput.jsx

@@ -95,7 +95,7 @@ export default class CustomInput extends Component {
 	static isTheSame = (input, properties) => {
 		let invalid = false;
 		const value = input[properties[0]].getValue();
-		Object.keys(properties).forEach((key) => {
+		properties.forEach((key) => {
 			if (input[key].getValue() !== value) invalid = true;
 		});
 		return invalid;