Skip to content

Commit

Permalink
Change door opening sensor icon to a lock (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentBesseau authored Sep 8, 2022
1 parent ce21420 commit ac635bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { DEVICE_FEATURE_CATEGORIES } from '../../../../../../../server/utils/con

const ICON_MAP = {
[DEVICE_FEATURE_CATEGORIES.OPENING_SENSOR]: {
0: 'shield-off',
1: 'shield'
0: 'unlock',
1: 'lock'
}
};

Expand Down
2 changes: 1 addition & 1 deletion front/src/utils/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const DeviceFeatureCategoriesIcon = {
[DEVICE_FEATURE_TYPES.ACCESS_CONTROL.MODE]: 'lock'
},
[DEVICE_FEATURE_CATEGORIES.OPENING_SENSOR]: {
[DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'lock'
[DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'info'
},
[DEVICE_FEATURE_CATEGORIES.LEAK_SENSOR]: {
[DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'droplet'
Expand Down

0 comments on commit ac635bb

Please sign in to comment.