correjida funcionalidad de alta, modificacion y eliminacion de repuestos

This commit is contained in:
fede committed 2026-11-10 11:34:28 -03:00
1 parent 6c900f0afd
commit 6b9cd844e4
12 files changed
+139 -63

No files matched your search

-5
View File
@@ -8,11 +8,6 @@ export async function load({ fetch, depends }) {
let error = '';
if (typeof repuestos === 'string') {
error = repuestos;
} else {
if (repuestos.length != 0 && typeof repuestos[0].deleted_at !== 'undefined')
repuestos.forEach((x:any) => {
x.deleted_at = x.deleted_at ? '✗' : '✔';
});
}
return {
repuestos: repuestos,