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({
8787 },
8888 computed: {
8989 isWaitingResponse() {
90+ this .errorMessage = ' '
9091 const profileResult = this .$store .state .listProfilesResult
9192 if (profileResult instanceof ListProfilePendingResult ) {
9293 return true
@@ -96,6 +97,7 @@ export default defineComponent({
9697 this .availableProfiles = profileResult .profiles
9798 } else if (profileResult instanceof ListProfileFailureResult ) {
9899 this .errorMessage = GENERIC_PROFILE_LOAD_ERROR
100+ this .isRefreshing = false
99101 } else {
100102 // should not be this path
101103 this .errorMessage = " Unexpected error happenede while loading Q Webview page"
@@ -125,7 +127,7 @@ export default defineComponent({
125127 },
126128 handleRetryClick() {
127129 this .isRefreshing = true
128- window .ideApi .postMessage ({command: ' prepareUi ' })
130+ window .ideApi .postMessage ({command: ' listProfiles ' })
129131 },
130132 handleSignoutClick() {
131133 window .ideApi .postMessage ({command: ' signout' })
You can’t perform that action at this time.
0 commit comments