fix : page de modification reception qui crash en prod
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
This commit is contained in:
@@ -327,7 +327,7 @@ const filteredVehicles = computed<VehicleData[]>(() => {
|
||||
watch(
|
||||
() => idReception,
|
||||
async (id) => {
|
||||
if (id === null) {
|
||||
if (!Number.isFinite(id) || id <= 0) {
|
||||
return
|
||||
}
|
||||
isLoading.value = true
|
||||
@@ -500,7 +500,7 @@ async function loadTypes() {
|
||||
try {
|
||||
receptionTypes.value = await getReceptionTypeList()
|
||||
} finally {
|
||||
isLoadingSuppliers.value = false
|
||||
isLoadingTypes.value = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user