Skip to content

Commit

Permalink
Fixing the ZAP GUI for blank configurations and opening category base…
Browse files Browse the repository at this point in the history
…d configurations (#1289)

JIRA: MCUDT-34386
  • Loading branch information
brdandu authored Mar 29, 2024
1 parent e479e28 commit fba7659
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/pages/ZapConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -711,16 +711,9 @@ export default {
)
}
if (this.zclPropertiesRow.length == 1) {
// We shortcut this page, if there is exactly one of each,
// since we simply assume that they are selected and move on.
if (this.selectedZclGenData[0]) {
this.selectedZclGenData[0] = this.zclGenRow[0].path
}
this.customConfig = 'select'
this.submitForm()
} else if (
this.zclPropertiesRow.length == currentZapFileZclPacakges.length
if (
this.zclPropertiesRow.length == currentZapFileZclPacakges.length ||
this.zclPropertiesRow.length == 1
) {
// We shortcut this page, if the number of packages in the zap file
// and the number of packages loaded in the backend are the same.
Expand Down

0 comments on commit fba7659

Please sign in to comment.