diff --git a/plugins/core/webview/src/q-ui/components/profileSelection.vue b/plugins/core/webview/src/q-ui/components/profileSelection.vue index 3ef02a58107..d3d66d37c3d 100644 --- a/plugins/core/webview/src/q-ui/components/profileSelection.vue +++ b/plugins/core/webview/src/q-ui/components/profileSelection.vue @@ -87,6 +87,7 @@ export default defineComponent({ }, computed: { isWaitingResponse() { + this.errorMessage = '' const profileResult = this.$store.state.listProfilesResult if (profileResult instanceof ListProfilePendingResult) { return true @@ -96,6 +97,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" @@ -125,7 +127,7 @@ export default defineComponent({ }, handleRetryClick() { this.isRefreshing = true - window.ideApi.postMessage({command: 'prepareUi'}) + window.ideApi.postMessage({command: 'listProfiles'}) }, handleSignoutClick() { window.ideApi.postMessage({command: 'signout'})