diff --git a/pages/admin/surveys/public/_survey.vue b/pages/admin/surveys/public/_survey.vue
index 758ab55..b4dd3d3 100644
--- a/pages/admin/surveys/public/_survey.vue
+++ b/pages/admin/surveys/public/_survey.vue
@@ -2,7 +2,7 @@
{{ title }}
- برگشت به صفحه قبل
+ برگشت به صفحه قبل
diff --git a/pages/admin/surveys/public/index.vue b/pages/admin/surveys/public/index.vue
index 544ae9d..8618b45 100644
--- a/pages/admin/surveys/public/index.vue
+++ b/pages/admin/surveys/public/index.vue
@@ -28,9 +28,9 @@
-
- {{ scope.row.user.first_name + ' ' + scope.row.user.last_name }}
-
+
+ {{ scope.row.fullName }}
+
diff --git a/pages/survey/index.vue b/pages/survey/index.vue
index 65a1c9a..3592b10 100644
--- a/pages/survey/index.vue
+++ b/pages/survey/index.vue
@@ -285,6 +285,12 @@ export default {
return this.$router.push('/')
}
this.survey = this.initForm()
+ }).catch((error)=>{
+ if (error.response.status === 422) {
+ this.validation = error.response.data.validation
+ this.hasValidationError = true
+ this.waiting = false
+ }
})
}
}