More picklists

This commit is contained in:
padamsen_fisker
2024-03-05 16:31:08 -05:00
parent f3b56c0e55
commit 8f011d11f2
7 changed files with 406 additions and 130 deletions

View File

@@ -291,11 +291,11 @@ export const VehicleProvider = ({ children }) => {
}
};
const getAllFlashpacks = async (options, token) => {
const getAllFlashpacks = async (model, trim, year, options, token) => {
try {
setBusy(true);
const result = await api.getAllFlashpacks(options, token);
const result = await api.getAllFlashpacks(model, trim, year, options, token);
if (result.error) {
throw new Error(`Get all flashpacks error. ${result.message}`);
}