File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
plugins/core/webview/src/q-ui/components Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export default defineComponent({
87
87
},
88
88
computed: {
89
89
isWaitingResponse() {
90
+ this .errorMessage = ' '
90
91
const profileResult = this .$store .state .listProfilesResult
91
92
if (profileResult instanceof ListProfilePendingResult ) {
92
93
return true
@@ -96,6 +97,7 @@ export default defineComponent({
96
97
this .availableProfiles = profileResult .profiles
97
98
} else if (profileResult instanceof ListProfileFailureResult ) {
98
99
this .errorMessage = GENERIC_PROFILE_LOAD_ERROR
100
+ this .isRefreshing = false
99
101
} else {
100
102
// should not be this path
101
103
this .errorMessage = " Unexpected error happenede while loading Q Webview page"
@@ -125,7 +127,7 @@ export default defineComponent({
125
127
},
126
128
handleRetryClick() {
127
129
this .isRefreshing = true
128
- window .ideApi .postMessage ({command: ' prepareUi ' })
130
+ window .ideApi .postMessage ({command: ' listProfiles ' })
129
131
},
130
132
handleSignoutClick() {
131
133
window .ideApi .postMessage ({command: ' signout' })
You can’t perform that action at this time.
0 commit comments