From f079e3fd70f93d740e6d4fc35c64c36e16d83044 Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 12 May 2017 17:55:02 -0400 Subject: [PATCH] Add new con_edison_detail scraper --- src/components/UtilityAccount/index.js | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/components/UtilityAccount/index.js b/src/components/UtilityAccount/index.js index 7eff0fc9..e6e9bf6e 100644 --- a/src/components/UtilityAccount/index.js +++ b/src/components/UtilityAccount/index.js @@ -229,6 +229,11 @@ class UtilityAccount extends Component { this.state.form.account_number && this.state.form.username && this.state.form.password ); } + if (this.state.form.utility.startsWith('con_edison_detail')) { + isDisabled = !( + this.state.form.username && this.state.form.password + ); + } isDisabled = isDisabled || this.isAccountNumberLong(); return (