Skip to content

Commit cf3fee4

Browse files
authored
fix chargepoint display (#3157)
1 parent 19be58c commit cf3fee4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/modules/web_themes/colors/source/src/components/chargePointList

packages/modules/web_themes/colors/source/src/components/chargePointList/processMessages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type {
1414

1515
export function processChargepointMessages(topic: string, message: string) {
1616
const index = getIndex(topic)
17-
if (index && !(index in chargePoints)) {
17+
if (index != undefined && !(index in chargePoints)) {
1818
console.warn('Invalid chargepoint id received: ' + index)
1919
return
2020
}

0 commit comments

Comments
 (0)