Skip to content

Commit 4f8060d

Browse files
authored
hot fix for cmp state handling (#1435)
1 parent 323ad2e commit 4f8060d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ZclEndpointCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,10 @@ export default {
420420
this.$router.push({ path: '/' })
421421
}
422422
if (this.$store.state.zap.isMultiConfig) {
423-
if (categoryTmp === dbEnum.helperCategory.zigbee) {
423+
if (
424+
this.getDeviceCategory(this.deviceType[0].packageRef) ===
425+
dbEnum.helperCategory.zigbee
426+
) {
424427
this.$store.state.zap.cmpEnableZigbeeFeatures = true
425428
this.$store.state.zap.cmpEnableMatterFeatures = false
426429
} else {

0 commit comments

Comments
 (0)