Skip to content

Commit fba7659

Browse files
authored
Fixing the ZAP GUI for blank configurations and opening category based configurations (#1289)
JIRA: MCUDT-34386
1 parent e479e28 commit fba7659

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/pages/ZapConfig.vue

+3-10
Original file line numberDiff line numberDiff line change
@@ -711,16 +711,9 @@ export default {
711711
)
712712
}
713713
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
714+
if (
715+
this.zclPropertiesRow.length == currentZapFileZclPacakges.length ||
716+
this.zclPropertiesRow.length == 1
724717
) {
725718
// We shortcut this page, if the number of packages in the zap file
726719
// and the number of packages loaded in the backend are the same.

0 commit comments

Comments
 (0)