From 84bb0eb69600f0997ce086e6e2d84077df61aada Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 22 Jul 2019 12:25:12 +0100 Subject: [PATCH] Remove random capital --- src/components/views/dialogs/TermsDialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/dialogs/TermsDialog.js b/src/components/views/dialogs/TermsDialog.js index 1c683650e5..7a8e565555 100644 --- a/src/components/views/dialogs/TermsDialog.js +++ b/src/components/views/dialogs/TermsDialog.js @@ -123,9 +123,9 @@ export default class TermsDialog extends React.PureComponent { for (const policiesAndService of this.props.policiesAndServicePairs) { const parsedBaseUrl = url.parse(policiesAndService.service.baseUrl); - const PolicyValues = Object.values(policiesAndService.policies); - for (let i = 0; i < PolicyValues.length; ++i) { - const termDoc = PolicyValues[i]; + const policyValues = Object.values(policiesAndService.policies); + for (let i = 0; i < policyValues.length; ++i) { + const termDoc = policyValues[i]; const termsLang = pickBestLanguage(Object.keys(termDoc).filter((k) => k !== 'version')); let serviceName; if (i === 0) { @@ -133,7 +133,7 @@ export default class TermsDialog extends React.PureComponent { } const summary = this._summaryForServiceType( policiesAndService.service.serviceType, - PolicyValues.length > 1 ? termDoc[termsLang].name : null, + policyValues.length > 1 ? termDoc[termsLang].name : null, ); rows.push(