updateSurveyList() {
if (localStorage.getItem('isGobackSurveyList') === 'true') {
localStorage.setItem('isGobackSurveyList', 'false');
this.surveyService.getSurveyList().subscribe(data => {
this.surveyListMyTask = data.result.filter(result=>result.status=="In Progress");
this.surveyListMyResponse = data.result.filter(result=>result.status=="Closed");
this.isShowNoData = true;
}, error => {
});
}
}