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
refactor: cleanup variables namespace
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
broadcast-channel
/
UIServiceWorkerBroadcastChannel.ts
diff --git
a/src/charging-station/broadcast-channel/UIServiceWorkerBroadcastChannel.ts
b/src/charging-station/broadcast-channel/UIServiceWorkerBroadcastChannel.ts
index 11127ec95ebbf21b86b67df30890d99a68a5f6b3..3a0c75b7d7e7ac19bce1cb255e320b7b4d35c5b0 100644
(file)
--- a/
src/charging-station/broadcast-channel/UIServiceWorkerBroadcastChannel.ts
+++ b/
src/charging-station/broadcast-channel/UIServiceWorkerBroadcastChannel.ts
@@
-78,7
+78,7
@@
export class UIServiceWorkerBroadcastChannel extends WorkerBroadcastChannel {
}
return undefined
})
}
return undefined
})
- .filter(
(hashId)
=> hashId != null) as string[],
+ .filter(
hashId
=> hashId != null) as string[],
...(responsesStatus === ResponseStatus.FAILURE && {
hashIdsFailed: this.responses
.get(uuid)
...(responsesStatus === ResponseStatus.FAILURE && {
hashIdsFailed: this.responses
.get(uuid)
@@
-88,18
+88,18
@@
export class UIServiceWorkerBroadcastChannel extends WorkerBroadcastChannel {
}
return undefined
})
}
return undefined
})
- .filter(
(hashId)
=> hashId != null) as string[]
+ .filter(
hashId
=> hashId != null) as string[]
}),
...(responsesStatus === ResponseStatus.FAILURE && {
responsesFailed: this.responses
.get(uuid)
}),
...(responsesStatus === ResponseStatus.FAILURE && {
responsesFailed: this.responses
.get(uuid)
- ?.responses.map(
(response)
=> {
- if (response
!= null && response
.status === ResponseStatus.FAILURE) {
+ ?.responses.map(
response
=> {
+ if (response.status === ResponseStatus.FAILURE) {
return response
}
return undefined
})
return response
}
return undefined
})
- .filter(
(response)
=> response != null) as BroadcastChannelResponsePayload[]
+ .filter(
response
=> response != null) as BroadcastChannelResponsePayload[]
})
}
}
})
}
}