diff --git a/src/store/index.js b/src/store/index.js index 8653686c..4010c854 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -198,7 +198,7 @@ export const useMainStore = defineStore({ payload: {}, }) .then((response) => { - updateVehicle(response.vehicle); + this.updateVehicle(response.vehicle); return response; }); },