pagination users, locations, vehicles, loads
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import CardEmpty from '../components/CardEmpty.vue';
|
||||
import CreateLocationModal from '../components/CreateLocationModal.vue';
|
||||
import CardLocation from '../components/CardLocation.vue';
|
||||
import Pagination from '../components/Pagination.vue';
|
||||
import Pagination from '../components/Pagination.vue';
|
||||
|
||||
const companyStore = useCompanyStore();
|
||||
|
||||
@@ -23,7 +23,7 @@ import Pagination from '../components/Pagination.vue';
|
||||
|
||||
const getInitData = async() => {
|
||||
loading.value = true;
|
||||
companyStore.locationsCurrentPage = companyStore.locationsCurrentPage;
|
||||
// companyStore.locationsCurrentPage = companyStore.locationsCurrentPage;
|
||||
filterQuery.value.company = "company="+ localStorage.getItem('id');
|
||||
await companyStore.getLocationsCompany(filterQuery.value, false)
|
||||
loading.value = false;
|
||||
|
||||
Reference in New Issue
Block a user