We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e479e28 commit fba7659Copy full SHA for fba7659
src/pages/ZapConfig.vue
@@ -711,16 +711,9 @@ export default {
711
)
712
}
713
714
- if (this.zclPropertiesRow.length == 1) {
715
- // We shortcut this page, if there is exactly one of each,
716
- // since we simply assume that they are selected and move on.
717
- if (this.selectedZclGenData[0]) {
718
- this.selectedZclGenData[0] = this.zclGenRow[0].path
719
- }
720
- this.customConfig = 'select'
721
- this.submitForm()
722
- } else if (
723
- this.zclPropertiesRow.length == currentZapFileZclPacakges.length
+ if (
+ this.zclPropertiesRow.length == currentZapFileZclPacakges.length ||
+ this.zclPropertiesRow.length == 1
724
) {
725
// We shortcut this page, if the number of packages in the zap file
726
// and the number of packages loaded in the backend are the same.
0 commit comments