diff --git a/app/scenes/Settings/Application.tsx b/app/scenes/Settings/Application.tsx
index 84b781726d..4aaf1f471c 100644
--- a/app/scenes/Settings/Application.tsx
+++ b/app/scenes/Settings/Application.tsx
@@ -80,11 +80,16 @@ const Application = observer(function Application({ oauthClient }: Props) {
async (data: FormData) => {
try {
await oauthClient.save(data);
+ toast.success(
+ oauthClient.published
+ ? t("Application published")
+ : t("Application updated")
+ );
} catch (error) {
toast.error(error.message);
}
},
- [oauthClient]
+ [oauthClient, t]
);
const handleRotateSecret = React.useCallback(async () => {
@@ -173,7 +178,6 @@ const Application = observer(function Application({ oauthClient }: Props) {
developer documentation.": "API keys can be used to authenticate with the API and programatically control\n your workspace's data. For more details see the developer documentation.",
+ "Application published": "Application published",
+ "Application updated": "Application updated",
"Client secret rotated": "Client secret rotated",
"Rotate secret": "Rotate secret",
"Rotating the client secret will invalidate the current secret. Make sure to update any applications using these credentials.": "Rotating the client secret will invalidate the current secret. Make sure to update any applications using these credentials.",