Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export default defineComponent({
},
computed: {
isWaitingResponse() {
this.errorMessage = ''
const profileResult = this.$store.state.listProfilesResult
if (profileResult instanceof ListProfilePendingResult) {
return true
Expand All @@ -95,6 +96,7 @@ export default defineComponent({
this.availableProfiles = profileResult.profiles
} else if (profileResult instanceof ListProfileFailureResult) {
this.errorMessage = GENERIC_PROFILE_LOAD_ERROR
this.isRefreshing = false
} else {
// should not be this path
this.errorMessage = "Unexpected error happenede while loading Q Webview page"
Expand Down Expand Up @@ -124,7 +126,7 @@ export default defineComponent({
},
handleRetryClick() {
this.isRefreshing = true
window.ideApi.postMessage({command: 'prepareUi'})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prepareUi will not pull profile anymore

window.ideApi.postMessage({command: 'listProfiles'})
},
handleSignoutClick() {
window.ideApi.postMessage({command: 'signout'})
Expand Down
Loading