We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19be58c commit cf3fee4Copy full SHA for cf3fee4
1 file changed
packages/modules/web_themes/colors/source/src/components/chargePointList/processMessages.ts
@@ -14,7 +14,7 @@ import type {
14
15
export function processChargepointMessages(topic: string, message: string) {
16
const index = getIndex(topic)
17
- if (index && !(index in chargePoints)) {
+ if (index != undefined && !(index in chargePoints)) {
18
console.warn('Invalid chargepoint id received: ' + index)
19
return
20
}
0 commit comments