Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. getSkipLogic() {
  2. this.skipLogicService.getSkipLogic().subscribe(data => {
  3. (data || []).forEach(item => {
  4.  
  5. if (item.toQuestion === 'Q46') {
  6. const setValue = item.values === 'beforeDate' ? 'Yes' : 'No';
  7. this.contradictValue.Q46 = setValue;
  8. this.dependencySectionOne.get('BornBeforeJanuary1996').
  9. setValue(setValue);
  10. }
  11. });
  12. });
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement