From ba223fa189f9312bc86ab45c2a8a71be5e15fe7d Mon Sep 17 00:00:00 2001 From: Neeraj Sharma Date: Thu, 23 Jan 2020 17:06:10 +0530 Subject: [PATCH] implement change status in student and teacher --- src/pages/Students/students.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Students/students.vue b/src/pages/Students/students.vue index 4a49b31..f42e9cc 100644 --- a/src/pages/Students/students.vue +++ b/src/pages/Students/students.vue @@ -2374,12 +2374,13 @@ export default { http() .put("/suspendStudentAccount", suspendStudentData) .then(response => { - this.findStudents()(); + this.findStudents(); this.text = response.data.message; this.snackbar = true; }) .catch(error => { // console.log(error.response.data.data); + this.snackbar = true; this.text = error.response.data.message; }); } -- 2.0.0