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