Skip to content

Commit

Permalink
Issue #SB-19244 merge: Merge pull request #1060 from raghav14/release…
Browse files Browse the repository at this point in the history
…-3.0.1

Issue #SB-19244 fix: state config property fixed
  • Loading branch information
swayangjit authored Jul 10, 2020
2 parents 9721842 + 55e204a commit 9929951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/faq-report-issue/faq-report-issue.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class FaqReportIssuePage implements OnInit, OnDestroy {
stateContactList.forEach(element => {
if (this.formValues.children.subcategory && this.formValues.children.subcategory.board &&
this.formValues.children.subcategory.board.code === element.id && element.contactinfo &&
element.contactinfo.email) {
element.email) {
this.supportEmail = element.contactinfo.email;
}
});
Expand All @@ -394,7 +394,7 @@ export class FaqReportIssuePage implements OnInit, OnDestroy {
const stateContactList = await this.formAndFrameworkUtilService.getStateContactList();
stateContactList.forEach(element => {
if (this.formValues.children.subcategory.board.code === element.id) {
if (this.isFormValid && element.conteactInfo.contactinfo && element.conteactInfo.contactinfo.number) {
if (this.isFormValid && element.contactinfo && element.contactinfo.number) {
this.boardContact = element;
this.showSupportContact = true;
}
Expand Down

0 comments on commit 9929951

Please sign in to comment.