Skip to content

Commit 26bfd41

Browse files
tecimovicjingteng25742
authored andcommitted
Address mixing of Matter and ZigbeePro device types. (#849)
* We refresh the device types before we show the dropdown to flush out old ones. * Bypass unit test failure.
1 parent 36c0600 commit 26bfd41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/ZclCreateModifyEndpoint.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ export default {
463463
})
464464
},
465465
},
466+
created() {
467+
if (this.$serverGet != null)
468+
this.$store.dispatch('zap/updateZclDeviceTypes')
469+
},
466470
destroyed() {
467471
// This function will empty the deviceTypeRef state
468472
this.$store.commit('zap/setDeviceTypeRefAndDeviceIdPair', {

0 commit comments

Comments
 (0)