ngOnChanges()

in frontend/src/app/business-user/business-user.component.ts [65:79]


  ngOnChanges(changes: SimpleChanges) {
    for (const propName in changes) {
      if (changes.hasOwnProperty(propName)) {
        switch (propName) {
          case 'selectedHistory': {
            if (this.selectedHistory) {
              this.showResult = false;
              this.sessionId = this.homeService.getSessionId()
            }
          }
            break;
        }
      }
    }
  }