This commit is contained in:
sajjad
2024-02-10 02:48:29 -08:00
parent 0c68daffd7
commit d3f525d11e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<v-list-tile-title class="title"> <v-list-tile-title class="title">
{{ $store.state.user.name }} {{ $store.state.user.name }}
<br /> <br />
{{ $store.state.user.medical_center.name }} {{ $store.state.user.medical_center?.name }}
</v-list-tile-title> </v-list-tile-title>
</v-list-tile> </v-list-tile>
+3 -3
View File
@@ -221,9 +221,9 @@ export default {
urls.listItem(filter) urls.listItem(filter)
); );
if (result && result.status == 200) { if (result && result.status == 200) {
this.items = result.data.data.data; this.items = result.data.data;
this.currentPage = result.data.data.current_page; this.currentPage = result.data.meta.current_page;
this.lastPage = result.data.data.last_page; this.lastPage = result.data.meta.last_page;
} }
this.loadMedicalCenters(); this.loadMedicalCenters();
}, },