Skip to content

Commit

Permalink
update to dbEnum reference
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 committed Sep 26, 2024
1 parent 5d7d8b7 commit dade22d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ZclCreateModifyEndpoint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export default {
// Set / unset multiple device option in mcp
if (this.$store.state.zap.isMultiConfig) {
if (categoryTmp === 'zigbee') {
if (categoryTmp === DbEnum.helperCategory.zigbee) {
this.$store.state.zap.cmpEnableZigbeeFeatures = true
this.$store.state.zap.cmpEnableMatterFeatures = false
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ZclEndpointCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export default {
this.$router.push({ path: '/' })
}
if (this.$store.state.zap.isMultiConfig) {
if (categoryTmp === 'zigbee') {
if (categoryTmp === dbEnum.helperCategory.zigbee) {
this.$store.state.zap.cmpEnableZigbeeFeatures = true
this.$store.state.zap.cmpEnableMatterFeatures = false
} else {
Expand Down

0 comments on commit dade22d

Please sign in to comment.