Skip to content

Commit

Permalink
hot fix for cmp state handling
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 committed Sep 26, 2024
1 parent 323ad2e commit da5b38d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ZclEndpointCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,10 @@ export default {
this.$router.push({ path: '/' })
}
if (this.$store.state.zap.isMultiConfig) {
if (categoryTmp === dbEnum.helperCategory.zigbee) {
if (
this.getDeviceCategory(this.deviceType[0].packageRef) ===
dbEnum.helperCategory.zigbee
) {
this.$store.state.zap.cmpEnableZigbeeFeatures = true
this.$store.state.zap.cmpEnableMatterFeatures = false
} else {
Expand Down

0 comments on commit da5b38d

Please sign in to comment.