add: pagination in search loads y companies
This commit is contained in:
@@ -28,7 +28,7 @@ export const useVehiclesStore = defineStore('vehicles', () => {
|
||||
const createVehicleCompany = async(formData, localData = {}) => {
|
||||
const data = await createVehicle(formData);
|
||||
if(data) {
|
||||
vehicles.value.push({
|
||||
vehicles.value.unshift({
|
||||
...data,
|
||||
...localData
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user