From ebadc17eeb654b11af5292693976cb78ce342aff Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Thu, 08 Oct 2026 09:00:29 +0000
Subject: [PATCH] cleanup
---
lib/libLp.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/lib/libLp.js b/lib/libLp.js
index f5eac83..20e1bed 100644
--- a/lib/libLp.js
+++ b/lib/libLp.js
@@ -17,7 +17,6 @@
const grouped = _.groupBy(data, "usr_id")
const ret = []
for (const items of Object.values(grouped)) {
- // console.log(items)
if (!items.length) continue
const unterStatusse = items.map(it => it.status)
@@ -30,7 +29,6 @@
}
ret.push(newItem)
}
- console.log(ret)
return ret
}
@@ -57,7 +55,7 @@
}
// Fall 4: wenn eines in Bearbeitung -> in Bearbeitung // 0,1,0 2,1,2
- if (unterStatusse.some(u => u === 1)) {
+ if (unterStatusse.some(u => u === 1 || u === 2)) {
return 1
}
--
Gitblit v1.8.0