This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 416d18b5960 kie-issues#1391: Sandbox: Gist Integration announce
unsuccessful force push as successful (#2473)
416d18b5960 is described below
commit 416d18b59605eacb797f1cf6cad214158d13fc29
Author: Jozef Marko <[email protected]>
AuthorDate: Mon Aug 19 17:07:32 2024 +0200
kie-issues#1391: Sandbox: Gist Integration announce unsuccessful force push
as successful (#2473)
---
.../editor/Toolbar/GitIntegration/GitIntegrationContextProvider.tsx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/packages/online-editor/src/editor/Toolbar/GitIntegration/GitIntegrationContextProvider.tsx
b/packages/online-editor/src/editor/Toolbar/GitIntegration/GitIntegrationContextProvider.tsx
index fbec769e047..bb887646a7d 100644
---
a/packages/online-editor/src/editor/Toolbar/GitIntegration/GitIntegrationContextProvider.tsx
+++
b/packages/online-editor/src/editor/Toolbar/GitIntegration/GitIntegrationContextProvider.tsx
@@ -451,14 +451,13 @@ export function GitIntegrationContextProvider(props:
GitIntegrationContextProvid
authInfo,
insecurelyDisableTlsCertificateValidation,
});
+ alerts.successfullyUpdatedGistOrSnippetAlert.show();
} catch (e) {
alerts.errorAlert.show();
} finally {
setGistOrSnippetLoading(false);
setSyncGistOrSnippetDropdownOpen(false);
}
-
- alerts.successfullyUpdatedGistOrSnippetAlert.show();
}, [
alerts.errorAlert,
alerts.successfullyUpdatedGistOrSnippetAlert,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]