Private
Public Access
correjida funcionalidad de alta, modificacion y eliminacion de repuestos
This commit is contained in:
1 parent
6c900f0afd
commit
6b9cd844e4
12 files changed
+139
-63
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user