fix : page de modification reception qui crash en prod
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s

This commit is contained in:
2026-02-26 09:46:34 +01:00
parent 393c420983
commit 5967665e9f
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}
}