Skip to content

Commit b57cef1

Browse files
authored
workaround for issue_1080 (#1081)
1 parent 29c3b42 commit b57cef1

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src-electron/ide-integration/studio-rest-api.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,9 @@ async function getProjectInfo(
106106
return resp
107107
})
108108
.catch((err) => {
109-
env.logError(`StudioUC(${name}): ERR: ${err}`)
110109
return { data: [] }
111110
})
112111
} else {
113-
env.logError(
114-
`StudioUC(): Invalid Studio path project. Failed to retrieve project info.`
115-
)
116112
return { data: [] }
117113
}
118114
}

src/pages/ZapConfig.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@
198198

199199
<div class="row justify-center q-mt-xl">
200200
<q-btn
201-
:disable="disableSubmitButton"
202-
:color="disableSubmitButton ? 'blue-grey' : 'primary'"
203201
@click="submitForm"
204202
label="Submit"
205203
data-test="login-submit"
@@ -361,7 +359,7 @@ export default {
361359
this.zclGenRow = result.data.zclGenTemplates
362360
this.filePath = result.data.filePath
363361
this.open = result.data.open
364-
if (this.zclPropertiesRow.length == 1 && this.zclGenRow.length == 1) {
362+
if (this.zclPropertiesRow.length == 1) {
365363
// We shortcut this page, if there is exactly one of each,
366364
// since we simply assume that they are selected and move on.
367365
this.selectedZclGenData[0] = this.zclGenRow[0].path

0 commit comments

Comments
 (0)