Commit e7b670b8 by Nattana Chaiyamat

Competency : การลบประเภท

parent e51f5a3a
......@@ -244,14 +244,16 @@ export class CompetencyTopic {
next: response => {
if (response.success) {
this.showAlert(response.message, 'success')
this.getCompetencytypeList()
this.getCompetencytopicList()
} else {
this.showAlert(response.message, 'error')
this.dataLoading = false
this.cdr.detectChanges()
}
this.getCompetencytypeList()
this.getCompetencytopicList()
this.cdr.detectChanges()
}, error: error => {
this.getCompetencytypeList()
this.getCompetencytopicList()
this.showAlert(error.message, 'error')
this.dataLoading = false
this.cdr.detectChanges()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment