Bladeren bron

fixed #181

ali 3 jaren geleden
bovenliggende
commit
3cd2f673b3

+ 4 - 2
src/components/Widgets/ProjectAttendanceSheet/AdminProjectAttendanceSheetShow/AdminProjectAttendanceSheetShow.vue

@@ -125,7 +125,8 @@ export default {
       APIGateway.projectAttendanceSheets.verify(this.$route.params.project_attendance_sheets_id)
         .then(() => {
           this.loading = false
-          this.reloadData()
+          // this.reloadData()
+          this.$router.go(-1)
         })
         .catch(() => {
           this.loading = false
@@ -137,7 +138,8 @@ export default {
       APIGateway.projectAttendanceSheets.notVerify(this.$route.params.project_attendance_sheets_id)
         .then(() => {
           this.loading = false
-          this.reloadData()
+          // this.reloadData()
+          this.$router.go(-1)
         })
         .catch(() => {
           this.loading = false