button zum prüfen
This commit is contained in:
@@ -17,6 +17,7 @@ function sanitizeEntry(entry) {
|
||||
if (!entry || !entry.storeId) {
|
||||
return null;
|
||||
}
|
||||
const parsedLastCheck = Number(entry.lastStatusCheckAt);
|
||||
const normalized = {
|
||||
storeId: String(entry.storeId),
|
||||
storeName: entry.storeName ? String(entry.storeName).trim() : `Store ${entry.storeId}`,
|
||||
@@ -27,7 +28,8 @@ function sanitizeEntry(entry) {
|
||||
? 1
|
||||
: entry.lastTeamSearchStatus === 0
|
||||
? 0
|
||||
: null
|
||||
: null,
|
||||
lastStatusCheckAt: Number.isFinite(parsedLastCheck) ? parsedLastCheck : null
|
||||
};
|
||||
if (!normalized.regionId) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user