add: pagination in search loads y companies
This commit is contained in:
@@ -6,7 +6,7 @@ export default function useDirectory() {
|
||||
const loading = ref(false);
|
||||
const users = ref([]);
|
||||
const companiesTotal = ref(0);
|
||||
const currentCompaniesPage = ref(1);
|
||||
const currentCompaniesPage = ref(0);
|
||||
|
||||
|
||||
const getCompaniesData = async(filterQuery) => {
|
||||
|
||||
@@ -5,7 +5,7 @@ export default function useSearchLoads() {
|
||||
const loads = ref([]);
|
||||
const loading = ref(false);
|
||||
const total = ref(0);
|
||||
const currentPage = ref(1);
|
||||
const currentPage = ref(0);
|
||||
|
||||
const getLoadsPublished = async(filterQuery) => {
|
||||
loading.value = true;
|
||||
|
||||
Reference in New Issue
Block a user