Skip to content

Commit a03d3d8

Browse files
committed
Merge remote-tracking branch 'origin/dev' into users/t-xunguy/cpx-sensors
2 parents 32ec778 + 1b25710 commit a03d3d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/view/components/cpx/CpxImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export const updateSwitch = (switchState: boolean): void => {
380380
if (switchElement && switchInner) {
381381
svg.addClass(switchInner, "sim-slide-switch-inner");
382382

383-
if (switchState) {
383+
if (!switchState) {
384384
svg.addClass(switchInner, "on");
385385
switchInner.setAttribute("transform", "translate(-5,0)");
386386
} else {

0 commit comments

Comments
 (0)