repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/prettier-3.2.4 into combined-prs-branch
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
ui-services
/
AbstractUIService.ts
diff --git
a/src/charging-station/ui-server/ui-services/AbstractUIService.ts
b/src/charging-station/ui-server/ui-services/AbstractUIService.ts
index 847401013e606759a98dde88ab295a7c6b80e08d..44caca5472daca4084a8e5177a47d225ac304901 100644
(file)
--- a/
src/charging-station/ui-server/ui-services/AbstractUIService.ts
+++ b/
src/charging-station/ui-server/ui-services/AbstractUIService.ts
@@
-163,8
+163,8
@@
export abstract class AbstractUIService {
): void {
if (isNotEmptyArray(payload.hashIds)) {
payload.hashIds = payload.hashIds
): void {
if (isNotEmptyArray(payload.hashIds)) {
payload.hashIds = payload.hashIds
-
?.map((hashId)
=> {
- if (
hashId != null &&
this.uiServer.chargingStations.has(hashId)) {
+
.map(hashId
=> {
+ if (this.uiServer.chargingStations.has(hashId)) {
return hashId
}
logger.warn(
return hashId
}
logger.warn(
@@
-175,7
+175,7
@@
export abstract class AbstractUIService {
)
return undefined
})
)
return undefined
})
-
?.filter((hashId)
=> hashId != null) as string[]
+
.filter(hashId
=> hashId != null) as string[]
} else {
delete payload.hashIds
}
} else {
delete payload.hashIds
}