Fix bug
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
</div>
|
||||
<hr class="mt-3" />
|
||||
<div v-if="hasPermission('apply')">
|
||||
<div class="d-flex mt-3" style="align-items: center">
|
||||
<div v-if="complaint?.user" class="d-flex mt-3" style="align-items: center">
|
||||
<h5 style="text-wrap: nowrap; margin-left: 10px;">نام و نام خانوادگی: </h5>
|
||||
<p>{{ complaint?.user?.first_name + " " + complaint?.user?.last_name }}</p>
|
||||
</div>
|
||||
@@ -107,6 +107,7 @@ export default {
|
||||
this.complaint = res.data
|
||||
this.complete = res.data.complete
|
||||
this.desc = res.data.desc
|
||||
|
||||
|
||||
})
|
||||
},
|
||||
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
|
||||
this.$axios.get('/api/admin/complaint').then(res=>{
|
||||
this.complaint = res.data
|
||||
console.log(res.data)
|
||||
|
||||
|
||||
}).catch(err=>{
|
||||
console.log(err)
|
||||
|
||||
Reference in New Issue
Block a user