Commit 9c887fee01298f7c75164f2a1b4a24f24b786391

Authored by Neeraj Sharma
1 parent 4430dd6715

changes

Showing 1 changed file with 5 additions and 7 deletions   Show diff stats
src/pages/Students/students.vue
... ... @@ -2130,7 +2130,7 @@ export default {
2130 2130 this.dialog = true;
2131 2131 },
2132 2132 profile(item) {
2133   - console.log("item", item);
  2133 + // console.log("item", item);
2134 2134 this.editedIndex = this.desserts.indexOf(item);
2135 2135 this.editedItem = Object.assign({}, item);
2136 2136 this.editedItem.fatherName = item.parentId.fatherName;
... ... @@ -2153,9 +2153,8 @@ export default {
2153 2153 )
2154 2154 .then(response => {
2155 2155 // console.log("deleteUers",deleteStudent)
2156   - if ((this.snackbar = true)) {
2157   - this.text = "Successfully delete Existing Student";
2158   - }
  2156 + this.snackbar = true;
  2157 + this.text = "Successfully delete Existing Student";
2159 2158 this.getStudentList();
2160 2159 })
2161 2160 .catch(error => {
... ... @@ -2229,9 +2228,8 @@ export default {
2229 2228 })
2230 2229 .catch(error => {
2231 2230 // console.log(error);
2232   - if ((this.snackbar = true)) {
2233   - this.text = error.response.data.message;
2234   - }
  2231 + this.snackbar = true;
  2232 + this.text = error.response.data.message;
2235 2233 this.loading = false;
2236 2234 });
2237 2235 }
... ...